This repository has been archived by the owner on Jan 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsettings.conf.sample
86 lines (61 loc) · 2.74 KB
/
settings.conf.sample
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#--------------------------
# Indico mobile configuration file
#--------------------------
#
# This file is read on the Flask Application startup. If you change any value you will need to
# restart the Application afterwards to have its changes take effect.
#
# Lines starting with "#" are comments and they will be ignored by Indico Mobile.
#------------------------------------------------------------------------------
# BASIC SERVER CONFIGURATION
#------------------------------------------------------------------------------
# SERVER: It is needed only for the standalone server
SERVER = 'localhost'
SERVER_PORT = 5000
# DEBUG: it is used when standalone server and used for the assets
DEBUG = True
# Default Timezone of the server
TIMEZONE = 'Europe/Zurich'
# Time to Live in seconds of the Flask cache.
CACHE_TTL = 3600
# Cache type, can be memcached. filesystem by default
CACHE_TYPE = 'filesystem'
CACHE_DIR = '/tmp/mobilecache'
# MongoDB Database name
MONGODB_DATABASE = 'indicomobile'
# SECRET KEY needed for Flask Sessions
SECRET_KEY = ''
#------------------------------------------------------------------------------
# INDICO INSTANCE RELATED CONFIGURATION
#
# We specified the Indico instance URL, API Key and other related Indico config
#------------------------------------------------------------------------------
# Base URL of Indico instance
INDICO_URL = 'http://yourindicoserver/path/to/indico/'
# API Key to fetch data from the Indico API
API_KEY = 'your_api_key'
#------------------------------------------------------------------------------
# OAUTH CONFIGURATION
#
# We specified the OAUTH2 configuration
#------------------------------------------------------------------------------
ACCESS_TOKEN_URL='https://yourindicoserver/oauth/token'
AUTHORIZE_URL='https://yourindicoserver/oauth/authorize'
CLIENT_ID='' # set whatever Indico generates
CLIENT_SECRET='' # set whatever Indico generates
#CERT_FILE='/path/to/cert/file' # cert to verify Indico's certificate (optional)
#------------------------------------------------------------------------------
# Statistics
#
# We specified the Piwik statistics configuration
#------------------------------------------------------------------------------
STATISTICS_SERVER='statisticsserver.domain'
STATISTICS_SITE='XXX'
#------------------------------------------------------------------------------
# Sessions Management
#
# We specified the SessionInterface to use
#------------------------------------------------------------------------------
# SESSION_INTERFACE can be redis, otherwise will be Flask default
SESSION_INTERFACE = ""
REDIS_SERVER_URL = "redis://unused:password@localhost:6379/1"