sudo systemctl stop glados.serviceTo update the app use:
cd /opt/glados/glados-backend
source .env/bin/activate
git fetch --all --tags
git checkout {TAG_NAME}
python -m pip install -r requirements.txtWhere {TAG_NAME} is the version of the app you want to use, e.g. v0.15.0.
Compare the config.sample.yml file with your config.yml file and adjust, if necessary.
To upgrade the database to the latest version run:
cd /opt/glados/glados-backend
source .env/bin/activate
python -m alembic upgrade head
⚠️ Be sure to have a backup of your database before migrating!
sudo systemctl start glados.service