Skip to content

Instantly share code, notes, and snippets.

@byjamaljama
Forked from friveroll/install-laravel4.sh
Last active December 18, 2015 14:19
Show Gist options
  • Save byjamaljama/5796778 to your computer and use it in GitHub Desktop.
Save byjamaljama/5796778 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 master
git remote rename origin upstream
# Asumes that composer is install globally
composer install
php artisan key:generate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment