yolo
This commit is contained in:
parent
99ce4acd00
commit
98c753aba6
12 changed files with 169 additions and 94 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue