Last active
March 19, 2016 03:34
-
-
Save trevorgreenleaf/8f53c95937c91cd92881 to your computer and use it in GitHub Desktop.
Laravel / Homestead add more sites
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Trevor this is super easy. Yes I am talkign to you, I mean me. Wait you or me? | |
in terminal-> homestead edit | |
add the site | |
- map: cat.dev | |
to: /home/vagrant/Code/cat/public | |
save it. Then open up the etc/hosts file on your mac not on the server. | |
Edit the Ip to point to your url | |
192.168.10.10 cat.dev | |
then run in terminal-> | |
vagrant global-status | |
vagrant provision | |
you will need to specify the id of the box that you got from global-status | |
When you start the next day run-> homestead up | |
Note: | |
If you screw up vagrant. find the ~/.vagrant.d directory and delete it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
homestead halt
homestead up --provision