2020-03-17 00:30:44 +01:00
|
|
|
# The full URL base asset URL, with trailing slash.
|
2020-12-22 18:05:56 +01:00
|
|
|
ASSETS_BASEURL = '/assets/'
|
2020-03-17 00:30:44 +01:00
|
|
|
|
|
|
|
# The full URL base song URL, with trailing slash.
|
2020-12-22 18:05:56 +01:00
|
|
|
SONGS_BASEURL = '/songs/'
|
2020-03-17 00:30:44 +01:00
|
|
|
|
2022-03-24 03:32:31 +01:00
|
|
|
# Multiplayer websocket URL. Defaults to /p2 if blank.
|
|
|
|
MULTIPLAYER_URL = ''
|
|
|
|
|
2020-03-17 00:30:44 +01:00
|
|
|
# The email address to display in the "About Simulator" menu.
|
2020-12-22 18:05:56 +01:00
|
|
|
EMAIL = None
|
2020-03-17 00:30:44 +01:00
|
|
|
|
|
|
|
# Whether to use the user account system.
|
|
|
|
ACCOUNTS = True
|
|
|
|
|
2020-03-17 02:27:06 +01:00
|
|
|
# Custom JavaScript file to load with the simulator.
|
|
|
|
CUSTOM_JS = ''
|
|
|
|
|
2022-02-22 14:23:01 +01:00
|
|
|
# Default plugins to load with the simulator.
|
|
|
|
PLUGINS = [{
|
|
|
|
'url': '',
|
|
|
|
'start': False,
|
|
|
|
'hide': False
|
|
|
|
}]
|
|
|
|
|
2022-02-18 17:17:12 +01:00
|
|
|
# Filetype to use for song previews. (mp3/ogg)
|
|
|
|
PREVIEW_TYPE = 'mp3'
|
|
|
|
|
2020-03-17 00:30:44 +01:00
|
|
|
# MongoDB server settings.
|
|
|
|
MONGO = {
|
2020-03-17 02:27:06 +01:00
|
|
|
'host': ['127.0.0.1:27017'],
|
2020-03-17 00:30:44 +01:00
|
|
|
'database': 'taiko'
|
|
|
|
}
|
|
|
|
|
|
|
|
# Redis server settings, used for sessions + cache.
|
|
|
|
REDIS = {
|
|
|
|
'CACHE_TYPE': 'redis',
|
|
|
|
'CACHE_REDIS_HOST': '127.0.0.1',
|
|
|
|
'CACHE_REDIS_PORT': 6379,
|
|
|
|
'CACHE_REDIS_PASSWORD': None,
|
|
|
|
'CACHE_REDIS_DB': None
|
|
|
|
}
|
|
|
|
|
|
|
|
# Secret key used for sessions.
|
|
|
|
SECRET_KEY = 'change-me'
|
|
|
|
|
|
|
|
# Git repository base URL.
|
|
|
|
URL = 'https://github.com/bui/taiko-web/'
|
2020-10-29 06:07:56 +01:00
|
|
|
|
|
|
|
# Google Drive API.
|
|
|
|
GOOGLE_CREDENTIALS = {
|
|
|
|
'gdrive_enabled': False,
|
|
|
|
'api_key': '',
|
|
|
|
'oauth_client_id': '',
|
2020-12-21 14:02:56 +01:00
|
|
|
'project_number': '',
|
|
|
|
'min_level': None
|
2020-10-29 06:07:56 +01:00
|
|
|
}
|