refresh packages based on requirements.txt when deploy.sh is run

This commit is contained in:
rimu 2024-09-23 12:08:47 +12:00
parent ea1564cc87
commit a97ff0cdbd

View file

@ -5,6 +5,7 @@ sudo systemctl stop celery.service
git pull
source venv/bin/activate
export FLASK_APP=pyfedi.py
pip install -r requirements.txt
flask db upgrade
pybabel compile -d app/translations
sudo systemctl start celery.service