Commit 7bbe3039831bf09eccf7a3f8fc438b4a97a983e9

Authored by Andrew Buss
1 parent df587697ac
Exists in master

Cleaned up deploy a little

Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff

scripts/run_production.sh View file @ 7bbe303
1 1 #!/bin/bash -xe
2 2 source secrets.sh
3 3 source venv/bin/activate
4   -venv/bin/gunicorn -b 127.0.0.1:7002 flashy.wsgi
  4 +/srv/flashy-backend/venv/bin/gunicorn -b 127.0.0.1:7002 flashy.wsgi
scripts/setup_production.sh View file @ 7bbe303
1 1 #!/bin/bash -xe
2 2 whoami
3   -virtualenv --relocatable venv
4 3 source venv/bin/activate
5 4 source secrets
6   -#pip install psycopg2
  5 +pip install psycopg2
  6 +pip install gunicorn
7 7 python manage.py migrate