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

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

Rename ndgDiscovery.config to milk.config.

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