D
D
DarkByte20152017-11-09 14:00:03
Vagrant
DarkByte2015, 2017-11-09 14:00:03

How to use Vagrant?

I still can’t figure out how to work with a vagrant? Well, ok, I installed it, launched it, but what about the code? Let's say some site in php, but the code will then be inside the virtual machine? And then how to get it out of there? Or can I somehow make the code outside the virtual machine? And how can an IDE be opened with this code if it is inside a virtual machine?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D3lphi, 2017-11-09
@DarkByte2015

When configuring vagrant, you set up so-called shared folders (shared folders). The bottom line is that these folders will be synchronized on your system and virtual machine. That is, you put the file in the C:\vagrant\example directory and the same file appeared in the /var/www/example directory of the virtual machine. Of course, and vice versa, it also works.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question