-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.orig.py
44 lines (34 loc) · 1.15 KB
/
config.orig.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
42
43
44
SECRET_KEY = b'SET_YOUR_OWN_KEY_HERE'
# See freemysqlhosting.net for free mySQL.
DB_USERNAME = "name"
DB_PASSWORD = "pass"
DB_HOST = "db_host"
DB_DATABASE = "db_name"
SQLALCHEMY_DATABASE_URI = "mysql+mysqlconnector://{}:{}@{}/{}"\
.format(DB_USERNAME, DB_PASSWORD, DB_HOST, DB_DATABASE)
SQLALCHEMY_POOL_RECYCLE = 280 # See http://help.pythonanywhere.com/pages/UsingSQLAlchemywithMySQL/
SQLALCHEMY_TRACK_MODIFICATIONS = True
#SQLALCHEMY_ECHO = True
# MAIL SETTINGS
# See postale.io for free email hosting.
#POSTALE SETTINGS
MAIL_SERVER = "mail.postale.io"
MAIL_USERNAME = "[email protected]"
MAIL_SENDER = "My name <[email protected]>"
MAIL_PASSWORD = "your_password"
MAIL_PORT = 587
MAIL_USE_SSL = False
MAIL_USE_TLS = True
MAIL_DEBUG = 0
# SALT FOR EMAIL CONFIRMATION - FUTURE USE
SALT = "FUTURE_USE"
# FOR EMAIL CONFIRMATION
ROOT_URL = "http://127.0.0.1:5000"
# USED FOR GOOGLE ANALYTICS. IF NOT PRODUCTION, DO NOT INCLUDE THE TRACKING SCRIPT. - FUTURE USE
# TESTING = True
IS_PRODUCTION = False
# RECAPTCHA KEYS - DIFFERENT KEYS FOR DEV AND PROD
RECAPTCHA_PUBLIC_KEY_DEV = "A"
RECAPTCHA_PRIVATE_KEY_DEV = "B"
RECAPTCHA_PUBLIC_KEY_PROD = "C"
RECAPTCHA_PRIVATE_KEY_PROD = "D"