-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.py.tmpl
34 lines (27 loc) · 983 Bytes
/
config.py.tmpl
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
DB_NAME = 'visual_novel_listing'
DB_HOST = 'localhost:5432'
DB_USERNAME = 'postgres'
#DB_PASSWORD = '???'
SQLALCHEMY_DATABASE_URI = "postgresql://" + DB_USERNAME + ":" + DB_PASSWORD + "@" + DB_HOST + "/" + DB_NAME # don't change this
#SECRET_KEY = '???'
#file upload consts
#UPLOAD_FOLDER = '/home/leon/myproject/uploads'
UPLOAD_FOLDER = '/vnlist/uploads'
#IMAGE_UPLOAD_FOLDER = '/home/leon/myproject/scr_uploads'
IMAGE_UPLOAD_FOLDER = '/vnlist/scr_uploads'
IMAGE_UPLOAD_FOLDER_SMALL = IMAGE_UPLOAD_FOLDER + '/small'
IMAGE_UPLOAD_FOLDER_MEDIUM = IMAGE_UPLOAD_FOLDER + '/medium'
# email server
MAIL_SERVER = 'gator287.hostgator.com'
MAIL_PORT = 465
MAIL_USE_TLS = False
MAIL_USE_SSL = True
MAIL_USERNAME = '[email protected]'
#MAIL_PASSWORD = '???'
# administrator email list
ADMINS = ['[email protected]']
# domain settings
RENAI_ARCHIVE_ID = 1 # don't change this
RENPY_LIST_ID = 2 # don't change this
#DOMAIN_ID=RENAI_ARCHIVE_ID
DOMAIN_ID=RENPY_LIST_ID