config change
This commit is contained in:
parent
c201072ecc
commit
5c09cf38b1
|
@ -2,7 +2,10 @@ import socket
|
||||||
|
|
||||||
HOSTNAME = socket.gethostname()
|
HOSTNAME = socket.gethostname()
|
||||||
|
|
||||||
ENV = 'DEV'
|
if HOSTNAME.startswith('lsn-'):
|
||||||
|
ENV = 'PROD'
|
||||||
|
else:
|
||||||
|
ENV = 'DEV'
|
||||||
|
|
||||||
SQLALCHEMY_DATABASE_URI = 'postgresql://deploy:dbpassword@localhost:5432/realms'
|
SQLALCHEMY_DATABASE_URI = 'postgresql://deploy:dbpassword@localhost:5432/realms'
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
[program:realms]
|
[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
|
Loading…
Reference in a new issue