Upgrading from tar.gz package¶
Make sure you have setup South before you upgrade – see 7. Convert the database to use South for details.
- pip install OpenREM-version.tar.gz
Always do a database migration using South after an upgrade in case any of the database models have changed. This will normally not be the case.
- python path/to/openrem/manage.py schemamigration --auto remapp
eg python lib/python2.7/site-packages/openrem/manage.py schemamigration --auto remapp
If response to the last command is ‘Nothing seems to have changed’, no migration is required. Else, follow the instructions to migrate.
Restart the web server¶
- Restart the web server to enable any changes that have been made to the web interface.