Adding upgrade instructions to Readme.

This commit is contained in:
Roland 2022-05-03 11:00:09 -06:00
parent 5bd9201e58
commit 99bd878c98
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
2 changed files with 31 additions and 3 deletions

16
UPGRADE.md Normal file
View file

@ -0,0 +1,16 @@
# Upgrading WROLPi
## Upgrading Docker containers
1. Pull the latest master
* `git pull origin master --ff`
2. Stop docker containers
* `docker-compose stop`
3. Build all docker containers
* `docker-compose build --parallel`
4. Turn on the database
* `docker-compose up -d db`
5. Upgrade the database
* `docker-compose run --rm api db upgrade`
6. Start all docker containers
* `docker-compose up -d`