Skip to content

Upgrade process

laurent-n edited this page Jan 29, 2019 · 1 revision

On an existing instance here the suggested process.
Step 0 : Do a backup of your database and files
Step 1 : Update application files
Retrieve ecotaxapatch.zip from the release page,
copy it on the application root near upgrade.py
Launch python3 upgrade.py it will unzip file Alternative option : It can be done using git checkout
Step 2 : Upgrade your python environment
From a command line initialized with your venv if needed
pip install --upgrade pip to upgrade your pip
pip install -r requirements.txt to upgrade your python packages
Step 3 : Upgrade your database
python3 manage.py db upgrade
Step 4 : Restart your application (uwsgi,... ) For uwsgi it can be like :
systemctl stop uwsgi.service
systemctl start uwsgi.service

Clone this wiki locally