From d095674a89ef57468131df145a1ae78666452c7d Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Fri, 8 Oct 2021 22:25:47 +0200 Subject: [PATCH] Modify fabfile to use poetry --- fabfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fabfile.py b/fabfile.py index 0885576..03a4b9c 100644 --- a/fabfile.py +++ b/fabfile.py @@ -14,8 +14,8 @@ 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') - c.run('pip install -r requirements.txt') # install deps in virtualenv + c.run('pip install -U pip poetry') + c.run('poetry install --dev') # install deps in virtualenv c.run('python manage.py collectstatic --noinput') # Collect static c.run('python manage.py migrate') # Run DB migrations