pyfedi/deploy.sh
2024-03-18 16:37:45 +13:00

11 lines
255 B
Bash
Executable file

#!/bin/bash
date > updated.txt
sudo systemctl stop celery.service
git pull
source venv/bin/activate
export FLASK_APP=pyfedi.py
flask db upgrade
pybabel compile -d app/translations
sudo systemctl start celery.service
sudo systemctl restart pyfedi.service