Skip to content

Instantly share code, notes, and snippets.

@BenjaminDurham
Last active September 22, 2016 22:38
Show Gist options
  • Save BenjaminDurham/3861e8dfd442f1b8deb42929f489c526 to your computer and use it in GitHub Desktop.
Save BenjaminDurham/3861e8dfd442f1b8deb42929f489c526 to your computer and use it in GitHub Desktop.
Instructions for adding a new Laravel project to a Homestead box.
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