Last active
January 12, 2016 01:46
-
-
Save niallobrien/5098578 to your computer and use it in GitHub Desktop.
Laravel 4 install & update process
This file contains 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
// 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 [email protected]/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Alias php composer.phar to composer if you want. Also works well for artisan.