Skip to content

Instantly share code, notes, and snippets.

@davidvanvickle
Last active October 17, 2015 18:29
Show Gist options
  • Save davidvanvickle/5318ec5033da1f05be5c to your computer and use it in GitHub Desktop.
Save davidvanvickle/5318ec5033da1f05be5c to your computer and use it in GitHub Desktop.
Laravel Homstead install notes
# get a homestead box
vagrant box add laravel/homestead
# clone homestead and go into it
git clone git@github.com: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