forked from 15thnight/15thnight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigdist.py
44 lines (36 loc) · 1.06 KB
/
configdist.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
# Database config
DATABASE_URL = "sqlite:///test.db"
# TWILIO credentials start
TWILIO_ACCOUNT_SID = ""
TWILIO_ACCOUNT_AUTH_TOKEN = ""
TWILIO_FROM_NUMBER = ""
# TWILIO credentials end
# AWS Deprecated config
AWS_REGION = ""
AWS_ACCESS_KEY_ID = ""
AWS_SECRET_ACCESS_KEY = ""
EMAIL_SENDER = ""
# End AWS Deprecated config
# Mail Configuration
MAIL_SERVER = 'localhost'
MAIL_PORT = 25
MAIL_USERNAME = None
# Even if there is no MAIL_USERNAME, MAIL_DEFAULT_SENTER must be
# set to a valid email address (that will populate the from header)
MAIL_DEFAULT_SENDER = MAIL_USERNAME
MAIL_PASSWORD = None
MAIL_USE_TLS = False
MAIL_USE_SSL = False
# End Mail Configuration
# Config option for using manage.py to test twilio access.
# This should be in the form of 10 digits. (e.g. 2125553456)
TWILIO_TEST_NUMBER = ""
SECRET_KEY = 'This is not secret you must change it'
PREFERRED_URL_SCHEME = "http"
SERVER_NAME = 'localhost:5000'
CELERY_BROKER = "sqla+%s" % DATABASE_URL
DEBUG = True
# Life is in hours
RESET_TOKEN_LIFE = 24
# Support contact email
SUPPORT_EMAIL = 'itsupport@example.com'