node.js/config.ini
author carine
Mon, 01 Dec 2014 15:15:25 +0100
changeset 743 0e58fabc0175
parent 322 ff3463b76b7c
permissions -rw-r--r--
test
322
ff3463b76b7c new configuration params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 249
diff changeset
     1
[hosting]
ff3463b76b7c new configuration params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 249
diff changeset
     2
# hostname = http://localhost:3000
ff3463b76b7c new configuration params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 249
diff changeset
     3
# basepath = /2011/11/TPAC/live
ff3463b76b7c new configuration params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 249
diff changeset
     4
241
cdb02655cde6 added https settings
Dominique Hazaël-Massieux <dom@w3.org>
parents: 240
diff changeset
     5
[https]
cdb02655cde6 added https settings
Dominique Hazaël-Massieux <dom@w3.org>
parents: 240
diff changeset
     6
# set certificate_file and key_file to start the app under https
cdb02655cde6 added https settings
Dominique Hazaël-Massieux <dom@w3.org>
parents: 240
diff changeset
     7
# key_file = 
cdb02655cde6 added https settings
Dominique Hazaël-Massieux <dom@w3.org>
parents: 240
diff changeset
     8
# certificate_file = 
cdb02655cde6 added https settings
Dominique Hazaël-Massieux <dom@w3.org>
parents: 240
diff changeset
     9
242
6c0a1ea37d5f added section "mongo" for db params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 241
diff changeset
    10
[mongo]
6c0a1ea37d5f added section "mongo" for db params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 241
diff changeset
    11
host = localhost
6c0a1ea37d5f added section "mongo" for db params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 241
diff changeset
    12
dbname = w3connect
6c0a1ea37d5f added section "mongo" for db params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 241
diff changeset
    13
240
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    14
[authentication]
243
581f77de3b08 authentication.session_db
Dominique Hazaël-Massieux <dom@w3.org>
parents: 242
diff changeset
    15
# session in which to save the session data
581f77de3b08 authentication.session_db
Dominique Hazaël-Massieux <dom@w3.org>
parents: 242
diff changeset
    16
session_db = session
244
0c100c14e834 added authentication.session_secret
Dominique Hazaël-Massieux <dom@w3.org>
parents: 243
diff changeset
    17
session_secret = abc
240
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    18
# if set to 1, restrict login to people known as registrants for the event
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    19
# only_registrants = 0
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    20
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    21
# space-separated list of methods allowed to authenticate
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    22
# the methods are the names of modules in everyauth https://github.com/bnoguchi/everyauth
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    23
# method = password, twitter, linkedin, yahoo, readability, dropbox, justin.tv, vimeo, tumblr, facebook, github, instagram, foursquare, google, gowalla, box, ldap
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    24
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    25
# the parameters of each auth method get defined in their own section
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    26
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    27
[ldap]
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    28
# ldap or ldaps, default to ldap
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    29
# scheme = ldap
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    30
# host = ldap.example.org
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    31
# port = 389
246
3c8f4325e263 added ldap.dn_realm
Dominique Hazaël-Massieux <dom@w3.org>
parents: 244
diff changeset
    32
# distinguished name realm
3c8f4325e263 added ldap.dn_realm
Dominique Hazaël-Massieux <dom@w3.org>
parents: 244
diff changeset
    33
# dn_realm = 
3c8f4325e263 added ldap.dn_realm
Dominique Hazaël-Massieux <dom@w3.org>
parents: 244
diff changeset
    34
240
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    35
[twitter]
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    36
# consumer_key = 
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    37
# consumer_secret =
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    38
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    39
[registrants]
5844f66a8219 skeleton of config file to abstract away w3c-specific settings
Dominique Hazaël-Massieux <dom@w3.org>
parents:
diff changeset
    40
# URL to load JSON list of registrants from (@@@ format)
249
cdd7cae1bcee config for rooms file
Dominqique Hazael-Massieux <dom@w3.org>
parents: 246
diff changeset
    41
# url 
cdd7cae1bcee config for rooms file
Dominqique Hazael-Massieux <dom@w3.org>
parents: 246
diff changeset
    42
cdd7cae1bcee config for rooms file
Dominqique Hazael-Massieux <dom@w3.org>
parents: 246
diff changeset
    43
[map]
cdd7cae1bcee config for rooms file
Dominqique Hazael-Massieux <dom@w3.org>
parents: 246
diff changeset
    44
# json file with an array of {shortname: "foo", name: "Foo"} 
cdd7cae1bcee config for rooms file
Dominqique Hazael-Massieux <dom@w3.org>
parents: 246
diff changeset
    45
# for each for the rooms
322
ff3463b76b7c new configuration params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 249
diff changeset
    46
# rooms_json =
ff3463b76b7c new configuration params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 249
diff changeset
    47
ff3463b76b7c new configuration params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 249
diff changeset
    48
[admin]
ff3463b76b7c new configuration params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 249
diff changeset
    49
# space separated list of login recognized as admins
ff3463b76b7c new configuration params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 249
diff changeset
    50
login = dom
ff3463b76b7c new configuration params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 249
diff changeset
    51
ff3463b76b7c new configuration params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 249
diff changeset
    52
[schedule]
ff3463b76b7c new configuration params
Dominique Hazaël-Massieux <dom@w3.org>
parents: 249
diff changeset
    53
timezone_offset = -7