-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_example.py
31 lines (26 loc) · 959 Bytes
/
config_example.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
# These are specimen configuration values. You should change them all for values appropriate to you.
import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config:
LP_GROUP_NAME='Example Philophy Group'
SQLALCHEMY_DATABASE_URI= 'sqlite:///app.db'
SECRET_KEY = 'top secret'
LP_ADMIN = '[email protected]'
DEFAULT_GROUP_NAME = 'Phil'
# Mail Globals appropriate to my philosopy group
MAIL_DEFAULT_SENDER='my email address'
LP_MAIL_SUBJECT_PREFIX='[Philosophy Group Name]'
LP_MAIL_SENDER =' <[email protected]>'
# Gmail configuration globals
MAIL_USERNAME='[email protected]'
MAIL_PASSWORD='google allocated password'
MAIL_SERVER = 'smtp.gmail.com'
MAIL_PORT = 587
MAIL_USE_TLS = True
MAIL_USE_SSL = False
MAIL_DEBUG = True
MAIL_SUPPRESS_SEND = False
SQLALCHEMY_TRACK_MODIFICATIONS = False
@staticmethod
def init_app(app):
pass