25 lines
638 B
Python
25 lines
638 B
Python
# Public URL paths. Keep the trailing slash.
|
|
BASEDIR = '/'
|
|
ASSETS_BASEURL = '/assets/'
|
|
SONGS_BASEURL = '/songs/'
|
|
|
|
# MongoDB stores songs, the activity configuration and easter-egg codes.
|
|
MONGO = {
|
|
'host': ['127.0.0.1:27017'],
|
|
'database': 'taiko',
|
|
}
|
|
|
|
# Redis is used for server-side sessions. The app falls back to local files.
|
|
REDIS = {
|
|
'CACHE_REDIS_HOST': '127.0.0.1',
|
|
'CACHE_REDIS_PORT': 6379,
|
|
'CACHE_REDIS_PASSWORD': None,
|
|
'CACHE_REDIS_DB': 0,
|
|
}
|
|
|
|
# Replace in production or provide TAIKO_WEB_SECRET_KEY.
|
|
SECRET_KEY = 'change-me'
|
|
|
|
URL = 'https://code.taiko.im/Superories/taiko.su/'
|
|
SITE_URL = 'https://taiko.su'
|