From c66a41fb0906a85c6d5d1f82decdc36a65e52353 Mon Sep 17 00:00:00 2001 From: Emilie Zawadzki Date: Tue, 8 Sep 2020 17:13:15 +0200 Subject: [PATCH] Add option to install packages with poetry --- prod/upgrade.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prod/upgrade.sh b/prod/upgrade.sh index 927b295..939ae49 100755 --- a/prod/upgrade.sh +++ b/prod/upgrade.sh @@ -35,6 +35,9 @@ while [ "$1" != "" ]; do -m | --migrate) docker-compose run app python /srv/app/manage.py migrate --noinput ;; + -i | --install) + docker-compose exec app poetry install --no-root + ;; -f | --front) docker-compose run app python /srv/app/manage.py build-front ;; -- 2.39.5