From 8822360d741892fe6a21298fe1d2e53b07510967 Mon Sep 17 00:00:00 2001 From: Andrew Buss Date: Mon, 4 May 2015 22:43:23 -0700 Subject: [PATCH] Build psycopg2 with jenkins instead --- scripts/setup_production.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/setup_production.sh b/scripts/setup_production.sh index 0ea741b..894ff8d 100755 --- a/scripts/setup_production.sh +++ b/scripts/setup_production.sh @@ -1,7 +1,8 @@ #!/bin/bash -xe +whoami source venv/bin/activate source secrets -pip install psycopg2 +#pip install psycopg2 python manage.py migrate echo "Checking whether nginx conf was updated" DIFF=$(diff /srv/flashy-backend/nginxconf/flashy.cards /etc/nginx/sites-available/flashy.cards) @@ -15,3 +16,4 @@ echo "Syncing static files" rsync -rP /srv/flashy-backend/static/ /srv/static echo "Poking uwsgi to restart the site" cp -v /srv/flashy-backend/flashy.ini /etc/uwsgi/ + -- 1.9.1