Titan/webapp/config.example.py

35 lines
1.4 KiB
Python
Raw Permalink Normal View History

2017-03-26 11:30:16 +02:00
config = {
# Create an app over here https://discordapp.com/developers/applications/me
# and fill these fields out
'client-id': "Your app client id",
'client-secret': "Your discord client secret",
'bot-token': "Discord bot token",
# Rest API in https://developer.paypal.com/developer/applications
'paypal-client-id': "Paypal client id",
'paypal-client-secret': "Paypal client secret",
# V2 reCAPTCHA from https://www.google.com/recaptcha/admin
'recaptcha-site-key': "reCAPTCHA v2 Site Key",
'recaptcha-secret-key': "reCAPTCHA v2 Secret Key",
2017-11-22 03:41:43 +01:00
# Patreon
'patreon-client-id': "Patreon client id",
'patreon-client-secret': "Patreon client secret",
2017-03-26 11:30:16 +02:00
'app-location': "/var/www/Titan/webapp/",
2017-03-26 11:30:16 +02:00
'app-secret': "Type something random here, go wild.",
'database-uri': "driver://username:password@host:port/database",
2017-08-20 21:56:54 +02:00
'redis-uri': "redis://",
'websockets-mode': "LITTERALLY None or eventlet or gevent",
2018-02-22 02:49:08 +01:00
'engineio-logging': False,
# https://titanembeds.com/api/webhook/discordbotsorg/vote
'discordbotsorg-webhook-secret': "Secret code used in the authorization header for DBL webhook",
# Sentry.io is used to track and upload errors
"sentry-dsn": "Copy the dns string when creating a project on sentry",
"sentry-js-dsn": "Same as above, but you can create a seperate sentry project to track the client side js errors",
2017-03-26 11:30:16 +02:00
}