Modify fabfile to use poetry

This commit is contained in:
ponas committed 2021-10-08 22:25:47 +02:00
1 parent 7e9b758421
commit d095674a89
1 file changed
+2 -2
Vendored
+2 -2
View File
@@ -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