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

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

Add tab for atom editor + add configuration option to enable/disable this.

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