-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.sample.py
41 lines (30 loc) · 1.08 KB
/
config.sample.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Modify these values for your app and environment and rename to config.py
# Don't track changes to this file for security purposes.
CSRF_ENABLED = True
SECRET_KEY = 'Hard to guess!'
# Debug allows arbitrary execution of code by people who can
# access the site--for dev environments only.
DEBUG = True
# domain goes here, uncomment for remote deployment
#SERVER_NAME = 'example.com'
SEASON = 2018
APPLICATIONS_OPEN = True
REDDIT_CLIENT_ID = "From Reddit"
REDDIT_CLIENT_SECRET = "Also from Reddit... DO NOT SHARE"
REDDIT_REDIRECT_URI = "http://localhost:5000/authorize_callback"
REDDIT_USER_AGENT = '/r/CollegeBasketball User Poll'
REDDIT_SUB = 'subreddit_name'
SQLALCHEMY_DATABASE_URI = 'mysql://username:[email protected]/dbname'
SQLALCHEMY_TRACK_MODIFICATIONS = True
# for pythonanywhere deployment
SQLALCHEMY_POOL_RECYCLE = 499
SQLALCHEMY_POOL_TIMEOUT = 20
LOGFILE = 'logfile.txt'
# email server
MAIL_SERVER = 'smtp.gmail.com'
MAIL_PORT = 465
MAIL_USE_TLS = False
MAIL_USE_SSL = True
MAIL_USERNAME = 'gmail-username'
MAIL_PASSWORD = 'gmail-password'
MAIL_FROM = '[email protected]'