realms-wiki/realms/config/__init__.py
2013-12-03 14:09:57 -06:00

38 lines
708 B
Python

import socket
HOSTNAME = socket.gethostname()
DOMAIN = 'realms.dev'
ENV = 'DEV'
PORT = 10000
DB_URI = 'postgresql://realms:dbpassword@localhost:5432/realms'
REDIS_HOST = '127.0.0.1'
REDIS_PORT = 6379
SECRET_KEY = 'K3dRq1q9eN72GJDkgvyshFVwlqHHCyPI'
REPO_DIR = '/home/deploy/repos'
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'}
ROOT_ENDPOINT = 'wiki.page'
WIKI_HOME = 'home'
MODULES = [
'wiki',
'auth'
]
if ENV is 'PROD':
pass
else:
DEBUG = True
ASSETS_DEBUG = True