Created
October 20, 2015 22:03
-
-
Save lynxtdc/024cd7810afa053e3e13 to your computer and use it in GitHub Desktop.
Quick Start for Laravel on Homestead
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
Assumes Homestead 2.x | |
Start Homestead | |
SSH to Vagrant | |
Create new directory in code directory | |
cd to new directory | |
run composer create-project laravel/laravel --prefer-dist . | |
Update Homestead Yaml (be sure to add to aliases array) | |
Update HOSTS file | |
Run vagrant reload --provision | |
Update Composer.json with any additional info/packages and run install | |
GIT INFO | |
Run git init in project root | |
Add any existing files and commit | |
Create repo on GitHub | |
Run following on command line: | |
git remote add origin https://github.com/<git account name>/<repo name.git> | |
git push -u origin master | |
Be sure to add and commit a readme.md file | |
Artisan/Laravel Stuff | |
Update Application Name/Namespace -- php artisan app:name <APP NAME HERE> | |
Set Key -- php artisan key:generate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment