1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-09-19 15:11:40 +02:00

Add upgrade guide to docs

This commit is contained in:
Chaoyi Zha 2017-02-03 23:38:45 -05:00
parent 88a4afea07
commit 961b144472
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,14 @@
# Upgrading Polr
-----------------
To upgrade your Polr instance to the latest `master` or to a new release, you must back up your database and files before proceeding to avoid data loss.
## Upgrading from 2.x:
- Back up your database and files
- Update your files by using `git pull` or downloading a release
- Run `composer install --no-dev -o` to ensure dependencies are up to date
- Migrate database with `php artisan migrate` to ensure database structure is up to date
## Upgrading from 1.x:
There are breaking changes between 2.x and 1.x; it is not yet possible to automatically upgrade to 2.x.

View File

@ -3,6 +3,7 @@ pages:
- Home: index.md
- User Guide:
- 'Installation': 'user-guide/installation.md'
- 'Upgrading': 'user-guide/upgrading.md'
- 'Troubleshooting': 'user-guide/troubleshooting.md'
- Developer Guide:
- 'Libraries': 'developer-guide/libraries.md'