config change

This commit is contained in:
Matthew Scragg 2014-01-16 16:22:00 -06:00
parent c201072ecc
commit 5c09cf38b1
2 changed files with 5 additions and 2 deletions

View file

@ -2,7 +2,10 @@ import socket
HOSTNAME = socket.gethostname()
ENV = 'DEV'
if HOSTNAME.startswith('lsn-'):
ENV = 'PROD'
else:
ENV = 'DEV'
SQLALCHEMY_DATABASE_URI = 'postgresql://deploy:dbpassword@localhost:5432/realms'

View file

@ -1,2 +1,2 @@
[program:realms]
command=/home/deploy/virtualenvs/realms/bin/python /home/deploy/realms/app.py
command=/home/deploy/virtualenvs/realms/bin/python /home/deploy/realms/manage.py