Thanks, maybe the problem was that I ran bash init.sh in the master branch and vagrant up in another. I read the docs and even went through a tutorial in a book I purchased on Laravel, and I have a few clarifying questions if you could please help explain.
I have done a reinstall of the box and am going to try again. Please help me so I feel comfortable I understand what's going to happen when I press vagrant up, lol.
Here is hosts file on my computer.
127.0.0.1 localhost
192.168.10.10 homestead.app
192.168.10.10 homestead # VAGRANT: 45876ff9f3e619fedd39096e8430fecb (homestead-7) / 0dd1e4f6-ef05-48fc-a6c0-2776c9fa3bdc
192.168.33.34 apache # VAGRANT: 4a27dff1fcda124efc218bd897ff784c (apache) / b30b37f4-0e90-4294-a624-13e5ce1d316b
homestead dir. on my local machine is at
me@mycomputer-MINGW64 $ ~/Homestead/homestead ((v5.2.4))
My homestead.yaml
folders:
- map: ~/Code
to: /home/vagrant/Code
sites:
- map: homestead.app
to: /home/vagrant/Code/Laravel/public
databases:
- homestead
The docs said once vagrant up is run, the .yaml file will automatically configure the nginx server and shared folders. It specified that this folder trees such as /home/vagrant/Code would be created then. However when ssh'd into the macine I could not find these file trees.
A few questions:
-
Should I mkdir ~/Code or assume it will be created on my host machine?
-
I know the name is arbitrary but is ~/Code just a stand in for wherever the homestead file from git is located? If so should I change it to
folders:
- map: ~/Homestead/homstead
to: /home/vagrant/Code
-
When I see /home/vagrant/Code I see a file tree starting from the root directory of the vagrant machine. Is it more accurate to view this as
~/home/vagrant/Code?
-
I want to work on a new laravel project using this virtual box, am I to assume that it will be located in the /home/vagrant/code/Laravel/public directory tree or do I need to laravel new project in one of my shared folders?