From 7f7bf0ef525c6b2eec80d7435218b7609e905b0e Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Wed, 28 Aug 2013 10:12:35 -0300 Subject: [PATCH] Fixing fabric --- fabfile.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fabfile.py b/fabfile.py index 0d8d968..56237a6 100644 --- a/fabfile.py +++ b/fabfile.py @@ -60,11 +60,13 @@ def update_requirements(): def deploy(update=False): - if update: - update_requirements() with cd('~/colab/src/'), prefix(WORKON_COLAB): run('git pull') + + if update: + update_requirements() + run('python manage.py syncdb') run('python manage.py migrate') run('python manage.py collectstatic --noinput') -- libgit2 0.21.2