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

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

Strip out code not relevant to MILK - mainly WCS and WMS stuff - also including the CSML server code + trackback code
Also tidy up structure of 'public' dir - setting up new 'style' dir and
centralising icons in icons dir + remove all unused icons, javascript and stylesheets.
Also strip out testcase code and populate new test directory structure.

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