Commit 39b167a4c0d3a5800dae4acd0f931efc80142878
1 parent
7f7bf0ef
Exists in
master
and in
39 other branches
update requirements was on a wrong dir path
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
fabfile.py
... | ... | @@ -64,9 +64,10 @@ def deploy(update=False): |
64 | 64 | with cd('~/colab/src/'), prefix(WORKON_COLAB): |
65 | 65 | run('git pull') |
66 | 66 | |
67 | - if update: | |
68 | - update_requirements() | |
67 | + if update: | |
68 | + update_requirements() | |
69 | 69 | |
70 | + with cd('~/colab/src/'), prefix(WORKON_COLAB): | |
70 | 71 | run('python manage.py syncdb') |
71 | 72 | run('python manage.py migrate') |
72 | 73 | run('python manage.py collectstatic --noinput') | ... | ... |