Skip to content

Instantly share code, notes, and snippets.

@friveroll
Created April 23, 2013 07:08
Show Gist options
  • Save friveroll/5441428 to your computer and use it in GitHub Desktop.
Save friveroll/5441428 to your computer and use it in GitHub Desktop.
#!/bin/sh
git clone https://github.com/laravel/laravel.git $1
cd $1
# Required for getting L4 dev
git reset --hard HEAD
git checkout develop
git remote rename origin upstream
# Do the house cleaning
chmod -R 0777 app/storage
curl -s https://getcomposer.org/installer | php
php composer.phar install
php artisan key:generate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment