Modify fabfile to use poetry
This commit is contained in:
1 parent
7e9b758421
commit
d095674a89
1 file changed
+2
-2
Vendored
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user