SKSP_2022_strategicka_hra/server/config.py.example

18 lines
499 B
Text
Raw Normal View History

2022-09-11 15:04:03 +02:00
# Patří do hra/config.py
2022-09-11 20:09:52 +02:00
# Druh webu (devel/test/pub), z toho CSS třída elementu <header>
WEB_FLAVOR = 'devel'
SQLALCHEMY_DATABASE_URI = f"postgresql:///ksp_strathra_{WEB_FLAVOR}"
2022-09-11 15:04:03 +02:00
SQLALCHEMY_TRACK_MODIFICATIONS = False
SQLALCHEMY_ECHO = False
# Vytvořte pomocí python3 -c 'import secrets; print(secrets.token_hex(32))'
SECRET_KEY = "8aeffbdf14d441f40359708cbbae9b47926db8b08e4ea9e0cdf78071bee7b788"
SESSION_COOKIE_NAME = 'ksp_strathra__session'
# Nutné pro registraci
CAPTCHA = 'hroch'