Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit ec14f17

Browse files
authored
Update update.sh
move from pipenv to poetry
1 parent 6b695f2 commit ec14f17

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

devops/update.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ sudo service $GUNICORN_SERVICE stop && echo "Service $GUNICORN_SERVICE stopped"
1414
cd $DJANGO_DIR
1515
git pull
1616
git submodule update
17-
$PIPENV install
18-
$PIPENV run python manage.py migrate
19-
$PIPENV run python manage.py collectstatic --no-input
17+
$POETRY install
18+
$POETRY run python manage.py migrate
19+
$POETRY run python manage.py collectstatic --no-input
2020

2121
sudo service $GUNICORN_SERVICE start && echo "Service $GUNICORN_SERVICE started"
22-
sudo service $GUNICORN_SERVICE status
22+
sudo service $GUNICORN_SERVICE status

0 commit comments

Comments
 (0)