This commit is contained in:
Matthew Scragg 2014-01-13 17:07:13 -06:00
parent 99ce4acd00
commit 98c753aba6
12 changed files with 169 additions and 94 deletions

View file

@ -2,10 +2,9 @@ import socket
HOSTNAME = socket.gethostname()
DOMAIN = 'realms.dev'
ENV = 'DEV'
DB_URI = 'postgresql://realms:dbpassword@localhost:5432/realms'
SQLALCHEMY_DATABASE_URI = 'postgresql://deploy:dbpassword@localhost:5432/realms'
REDIS_HOST = '127.0.0.1'
REDIS_PORT = 6379
@ -17,7 +16,6 @@ REPO_MAIN_NAME = '_'
REPO_FORBIDDEN_NAMES = ['api', 'www']
REPO_ENABLE_SUBDOMAIN = True
RECAPTCHA_PUBLIC_KEY = '6LfoxeESAAAAAGNaeWnISh0GTgDk0fBnr6Bo2Tfk'
RECAPTCHA_PRIVATE_KEY = '6LfoxeESAAAAABFzdCs0hNIIyeb42mofV-Ndd2_2'
RECAPTCHA_OPTIONS = {'theme': 'clean'}
@ -31,10 +29,12 @@ MODULES = [
]
if ENV is 'PROD':
SERVER_NAME = 'realms.io'
#SERVER_NAME = 'realms.io'
PORT = 80
DOMAIN = 'realms.io'
else:
DEBUG = True
ASSETS_DEBUG = True
SERVER_NAME = 'realms.dev:8000'
#SERVER_NAME = 'realms.dev:8000'
DOMAIN = 'realms.dev'
PORT = 8000