Commit 7f7bf0ef525c6b2eec80d7435218b7609e905b0e
1 parent
b103e7cb
Exists in
master
and in
39 other branches
Fixing fabric
pull should run before pip install
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
fabfile.py
... | ... | @@ -60,11 +60,13 @@ def update_requirements(): |
60 | 60 | |
61 | 61 | |
62 | 62 | def deploy(update=False): |
63 | - if update: | |
64 | - update_requirements() | |
65 | 63 | |
66 | 64 | with cd('~/colab/src/'), prefix(WORKON_COLAB): |
67 | 65 | run('git pull') |
66 | + | |
67 | + if update: | |
68 | + update_requirements() | |
69 | + | |
68 | 70 | run('python manage.py syncdb') |
69 | 71 | run('python manage.py migrate') |
70 | 72 | run('python manage.py collectstatic --noinput') | ... | ... |