-
Notifications
You must be signed in to change notification settings - Fork 64
/
config.py
33 lines (22 loc) · 925 Bytes
/
config.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
import os
# Set the URL base which will be displayed in the resource page.
# For example:
# vhost_url_base = 'https://192.168.18.18'
# vhost_url_base = 'https://my-domain.com'
# If set to empty or None, 'https://IP-address-of-your-server' will be used.
vhost_url_base = os.environ.get('WIO_VHOST_URL_BASE', '')
###############################
# Set ALWAYS_BUILD_FROM_SRC to True to enable the building always from source code
# It's useful when under dev stage, to figure out the newly developed code correct or not
ALWAYS_BUILD_FROM_SRC = False
###############################
# Set the smtp server which is used to send the password retreive email
smtp_server = 'smtp.sendgrid.net'
smtp_user = 'yours'
smtp_pwd = 'yours'
###############################
# Enable tornado's auto reload
auto_reload_for_debug = False
###############################
# The secrect for external user login
ext_user_secret = 'secret'