source: MILK/trunk/milk_server/development.ini @ 5198

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MILK/trunk/milk_server/development.ini@5860
Revision 5198, 2.4 KB checked in by cbyrom, 11 years ago (diff)

Write README.txt for MILK with basic install and config info +
tidy up config files, removing obsolete data + remove unused help
page + fix proper use of global discovery url to simplify use.

Line 
1#
2# milk_server - Pylons development environment configuration
3# - see toplevel README.txt file for config instructions
4#
5# The %(here)s variable will be replaced with the parent directory of this file
6#
7[DEFAULT]
8
9[server:main]
10use = egg:Paste#http
11host = 0.0.0.0
12port = 8080
13
14[pipeline:main]
15pipeline = logger main_app
16
17[filter:logger]
18use = egg:Paste#translogger
19
20[app:main_app]
21use = egg:milk_server
22cache_dir = %(here)s/data
23session.key = milk_server
24session.secret = somesecret
25csml_dir = /research/home/spascoe/host/saturn/data/ddc_data/obs
26tmp_dir = %(here)s/data/tmp
27
28configfile = %(here)s/milk.config
29helpConfigfile = %(here)s/helpText.config
30
31# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
32# Debug mode will enable the interactive debugging tool, allowing ANYONE to
33# execute malicious code after an exception is raised.
34#set debug = false
35
36# AuthKit Set-up
37authkit.setup.method=openid, cookie
38authkit.cookie.secret=secret encryption string
39authkit.cookie.signoutpath = /logout
40authkit.openid.path.signedin=/
41authkit.openid.store.type=file
42authkit.openid.store.config=%(here)s/data/openid
43authkit.openid.session.key = authkit_openid
44authkit.openid.session.secret = random string
45
46authkit.openid.baseurl = http://localhost
47
48# Template for signin
49authkit.openid.template.obj = ndg.security.server.sso.sso.lib.openid_util:make_template
50
51# Handler for parsing OpenID and creating a session from it
52authkit.openid.urltouser = ndg.security.server.sso.sso.lib.openid_util:url2user
53
54# Logging configuration
55# NB, swap values in logger_root if you want more debug logging
56[loggers]
57keys = root, milk_server, ndg
58
59[handlers]
60keys = console, debug_console
61
62[formatters]
63keys = generic, debug
64
65[logger_root]
66level = INFO
67handlers = console
68#level = DEBUG
69#handlers = debug_console
70
71[logger_milk_server]
72level = DEBUG
73handlers =
74qualname = milk_server
75
76[logger_ndg]
77level = DEBUG
78handlers =
79qualname = ndg
80
81[logger_authkit]
82level = DEBUG
83handlers =
84qualname = authkit
85
86[handler_console]
87class = StreamHandler
88args = (sys.stderr,)
89#level = NOTSET
90level = DEBUG
91formatter = generic
92
93[handler_debug_console]
94class = StreamHandler
95args = (sys.stderr,)
96level = DEBUG
97formatter = debug
98
99[formatter_generic]
100format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
101datefmt = %H:%M:%S
102
103[formatter_debug]
104format = %(asctime)s.%(msecs)03d %(filename)s:%(lineno)d %(levelname)s %(message)s
105datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.