Skip to content

Instantly share code, notes, and snippets.

@niallobrien niallobrien/gist:5098578
Last active Jan 12, 2016

Embed
What would you like to do?
Laravel 4 install & update process
// Clone L4 repo
git clone -b develop git://github.com/laravel/laravel.git myapp
cd myapp
// Install Composer
curl -sS https://getcomposer.org/installer | php
php composer.phar install
// Rename origin
git remote rename origin upstream
// Add your own repo as Origin
git remote add origin git@github.com/niallobrien/myapp.git
git push -u origin develop
------------------------------------------------------
// Update L4 app
git fetch upstream
git merge upstream/develop
// Update Composer packages
php composer.phar update
git push # would go to your fork
@niallobrien

This comment has been minimized.

Copy link
Owner Author

commented Mar 6, 2013

Alias php composer.phar to composer if you want. Also works well for artisan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.