Fix deploy

This commit is contained in:
Nikolai R Kristiansen committed 2018-03-17 12:34:18 +01:00
1 parent f4e0865f67
commit 577164907b
1 file changed
+2 -3
Vendored
+2 -3
View File
@@ -14,10 +14,9 @@ def virtualenv():
def deploy():
run('git pull') # Get source
run('pipenv install') # install deps in virtualenv
with virtualenv():
run('git pull') # Get source
run('pipenv install') # install deps in virtualenv
run('umask 022; python manage.py collectstatic --noinput') # Collect static
run('python manage.py migrate') # Run DB migrations