Where is / home / vagrant / Code / Laravel / public located?

I'm trying to install Laravel 5.2, and I got to the point of setting up the homestead.yaml file. I understand what /home/vagrant/Code/Laravel/publicis where my project files should be:

sites:
- map: homestead.app
  to: /home/vagrant/Code/Laravel/public

I am on Windows 7 and I can not find where this folder is located /home. Does anyone know where this is? Or is my laravel project located in a different folder?

+4
source share
3 answers

This folder is located inside the virtual machine. You need to map the real folder on your PC (for example C:\Laravel\public) to the VM folder /home/vagrant/Code/Laravel/public.

You can use your virtual machine with an SSH client, for example WinSCP, and you will see all the folders:

host: 127.0.0.1
login: vagrant
password: vagrant
+5

- , , homestead .

homestead , , D:\Users\me\Projects\PHP. Homestead /home/vagrant/Code.

, /Code - Windows.

+1

It is by default located in your home directory at realtive, i.e.

C:\Users\[user]\Code

Note. You might want to create the Code folder first insideC:\Users\[user]

-1
source

All Articles