Last active
September 22, 2016 22:38
-
-
Save BenjaminDurham/3861e8dfd442f1b8deb42929f489c526 to your computer and use it in GitHub Desktop.
Instructions for adding a new Laravel project to a Homestead box.
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
cd into your Homestead box location and vi homestead.yaml; map your folders, dbs, and domains | |
sudo vi /etc/hosts; add your VM's IP with a friendly domain name | |
cd into projcet home directory; composer install, npm install | |
copy .env.example and adjust settings | |
cd into Homestead box location and vagrant up or use 'Homestead up' if you have the alias | |
ssh into Homestead and 'php artisan key:generate' | |
vagrant provision |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment