need to include --upgrade flag to pip install (doh)

pull/1/head
Raymond Yee 2014-10-16 15:18:06 -07:00
parent b847771089
commit 2764d337ae
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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