From 2764d337ae6fdbd3120021de8fa6b0c3145b71c9 Mon Sep 17 00:00:00 2001 From: Raymond Yee Date: Thu, 16 Oct 2014 15:18:06 -0700 Subject: [PATCH] need to include --upgrade flag to pip install (doh) --- deploy/update-just | 2 +- deploy/update-prod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/update-just b/deploy/update-just index 1dde4eb6..3b46db70 100755 --- a/deploy/update-just +++ b/deploy/update-just @@ -9,7 +9,7 @@ cd /opt/regluit sudo -u ubuntu /usr/bin/git pull source ENV/bin/activate -pip install -r requirements_versioned.pip +pip install --upgrade -r requirements_versioned.pip django-admin.py syncdb --migrate --settings regluit.settings.just django-admin.py collectstatic --noinput --settings regluit.settings.just diff --git a/deploy/update-prod b/deploy/update-prod index 87d8b937..c1c5d090 100755 --- a/deploy/update-prod +++ b/deploy/update-prod @@ -3,7 +3,7 @@ cd /opt/regluit sudo -u ubuntu /usr/bin/git pull origin production source ENV/bin/activate -pip install -r requirements_versioned.pip +pip install --upgrade -r requirements_versioned.pip django-admin.py syncdb --migrate --settings regluit.settings.prod django-admin.py collectstatic --noinput --settings regluit.settings.prod sudo /etc/init.d/apache2 restart