many things have occured
This commit is contained in:
parent
02b6b7d592
commit
db70df22a2
23 changed files with 281 additions and 167 deletions
38
realms/config/__init__.py
Normal file
38
realms/config/__init__.py
Normal file
|
@ -0,0 +1,38 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue