diff --git a/scripts/run_production.sh b/scripts/run_production.sh index 838b885..0262fa5 100755 --- a/scripts/run_production.sh +++ b/scripts/run_production.sh @@ -1,4 +1,4 @@ #!/bin/bash -xe source secrets.sh source venv/bin/activate -venv/bin/gunicorn -b 127.0.0.1:7002 flashy.wsgi +/srv/flashy-backend/venv/bin/gunicorn -b 127.0.0.1:7002 flashy.wsgi diff --git a/scripts/setup_production.sh b/scripts/setup_production.sh index 07b8869..faefe7e 100755 --- a/scripts/setup_production.sh +++ b/scripts/setup_production.sh @@ -1,9 +1,9 @@ #!/bin/bash -xe whoami -virtualenv --relocatable venv source venv/bin/activate source secrets -#pip install psycopg2 +pip install psycopg2 +pip install gunicorn python manage.py migrate