summaryrefslogtreecommitdiff
path: root/default_config.py
blob: 98975854c51faf29e07ea598350a114e052ccd57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Default R application location
R_DIR = '/usr/bin/R'

# The location to keep the flask session data on server.
FLASKSESSIONDIR = '/tmp/flask-sessiondir'

# The location to keep the session data on server.
SESSIONDIR = '/tmp/sessiondir'
SESSIONTIMEOUT = 21600

# Temporary directory
TEMP_DIR = '/tmp/R/'
# The location to keep the flask caching data on server.
FLASKCACHINGDEFAULTTIMEOUT = 900
FLASKCACHINGDIR = '/tmp/flask-caching-dir'
API_URL_PLOT = "http://127.0.0.1:5000/plot"

AUTH_KEY = 'Secret key' # Same key as in web application

HTTP_HOST = '127.0.0.1'
HTTP_PORT = '5000'
PRODUCTION = True