Last active
October 17, 2015 18:29
-
-
Save davidvanvickle/5318ec5033da1f05be5c to your computer and use it in GitHub Desktop.
Laravel Homstead install notes
This file contains hidden or 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
# get a homestead box | |
vagrant box add laravel/homestead | |
# clone homestead and go into it | |
git clone [email protected]:laravel/homestead.git | |
cd homestead | |
# put composer into it | |
curl -sS https://getcomposer.org/installer | php | |
# put laravel homestead into it | |
php composer.phar require laravel/homestead --dev | |
# make homestead | |
php vendor/bin/homestead make | |
# homestead is at | |
php vendor/bin/homestead | |
# composer is at | |
php composer.phar | |
# install laravel globally | |
composer global require "laravel/installer=~1.1" | |
# make laravel accessible | |
export PATH=~/.composer/vendor/bin:$PATH | |
# start a laravel project | |
laravel new projname | |
cd projname | |
php artisan serve | |
php artisan -V # laravel 5 ? | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment