Roster Wizard Production Upgrade

How to Upgrade a Production Installation of Roster Wizard

$ cd /opt/roster

Update .env files if there are new variables since previous installation.

$ rm docker-compose.yml
$ rm docker-compose.override.yml
$ wget https://raw.githubusercontent.com/galojix/roster-wizard/master/docker-compose.yml
$ wget https://raw.githubusercontent.com/galojix/roster-wizard/master/docker-compose.production.yml
$ cp docker-compose.production.yml docker-compose.override.yml
$ docker-compose down
$ docker-compose pull
$ docker-compose up -d
$ docker-compose exec web python manage.py migrate
$ docker-compose exec web python manage.py collectstatic
$ docker image prune

Check the Roster Wizard User Guide for changes.