-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py.EXAMPLE
44 lines (35 loc) · 1.02 KB
/
config.py.EXAMPLE
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
42
43
44
# Config README:
#
# Copy config.py.EXAMPLE to config.py and apply your settings. Do not attempt
# to check it in.
#
# If you add a new configuration field to config.py, also add it to the .EXAMPLE
# file.
class settings(object):
DEBUG = True
SECRET_KEY = 'Random string here'
# Oauth settings
CONSUMER_SECRET = '7UlglBffLVrbJCKsecDN0eqHMu8'
CONSUMER_KEY = 'shVlzGjCRCJvaA'
USER_AGENT = 'Mozilla/5.0 (Windows; Macintosh; Android) ApfelWobkit/537.42 (Sweet, like Tomatoes)'
LOGIN_HOST = 'http://localhost:5000'
# Reddit settings
MINIMUM_USER_AGE_DAYS = 30
# Display settings
USERS_PAGE_SIZE = 3
# ESPN settings
YEAR = 2014
ENFORCE_BRACKET_NAMES_MATCH = True
# Flip once games start
BRACKET_CHANGES_ALLOWED = True
SECURE = False
HOST = '127.0.0.1'
PORT = 5000
# MySQL settings
MYSQL_HOST = 'localhost'
MYSQL_USERNAME = 'root'
MYSQL_PASSWORD = ''
MYSQL_DATABASE = 'brackets'
# Redis settings
REDIS_HOST = 'localhost'
REDIS_PORT = 6379