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

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

Create new config file - to specify the help text for the MILK app.
Add code to milkMiddleware to read in all data from this.

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