Skip to content

Instantly share code, notes, and snippets.

@pauldominik
Last active April 21, 2016 03:55
Show Gist options
  • Save pauldominik/a2682f05efd148dcb496f4564ea5e12d to your computer and use it in GitHub Desktop.
Save pauldominik/a2682f05efd148dcb496f4564ea5e12d to your computer and use it in GitHub Desktop.
Guide to Laravel 5.2 projects
# Installation/Start
- download as zip the most recent tag and lock laravel/framework with the same version in composer.json
- $ composer install
- $ cp .env.example .env
- $ php artisan key:generate
- $ git branch -develop # do all development with develop branch, us master for production releases
# Upgrading
- download as zip the most recent tag.
- drop to existing project
- investigate changes in each file in new branch named after the new release/tag
- fix conflicts, merge the fixes, delete the upgrade branch
- update composer.json with corresponding version for the framework
- $ composer update
- bump master's version, push to main repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment