fabfile: Fix poetry install command

This commit is contained in:
ponas committed 2021-10-08 22:29:02 +02:00
1 parent d095674a89
commit 4c924377cf
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -15,7 +15,7 @@ def deploy(c):
with c.cd(project_path), c.prefix('source {}/venv/bin/activate'.format(project_path)):
c.run('git pull') # Get source
c.run('pip install -U pip poetry')
c.run('poetry install --dev') # install deps in virtualenv
c.run('poetry install --no-dev') # install deps in virtualenv
c.run('python manage.py collectstatic --noinput') # Collect static
c.run('python manage.py migrate') # Run DB migrations