From a97ff0cdbd4655d9c47b4a78bcb6481351ac478a Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Mon, 23 Sep 2024 12:08:47 +1200 Subject: [PATCH] refresh packages based on requirements.txt when deploy.sh is run --- deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy.sh b/deploy.sh index 6f0fa361..df2897a5 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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