source: TI01-discovery/trunk/OAIInfoEditor/oai_info_editor/development.ini @ 5226

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI01-discovery/trunk/OAIInfoEditor/oai_info_editor/development.ini@5226
Revision 5226, 1.6 KB checked in by cbyrom, 10 years ago (diff)

Initial check in of code for the OAI Info Editor pylons based web app.

This includes basic controllers for viewing provider info - with the
associated repository info. Also included is the model and dal layer,
allowing the provider info to be processed and imported/exported to
XML file. Unit tests for the dal and model packages are included.
Templates for rendering provider and repository info are included.

Line 
1#
2# oai_info_editor - 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
8
9[pipeline:main]
10pipeline = logger main_app
11
12[filter:logger]
13use = egg:Paste#translogger
14
15[server:main]
16use = egg:Paste#http
17host = 0.0.0.0
18port = 5000
19
20[app:main_app]
21use = egg:oai_info_editor
22full_stack = true
23cache_dir = %(here)s/data
24beaker.session.key = oai_info_editor
25beaker.session.secret = somesecret
26configfile = %(here)s/editor.config
27
28# If you'd like to fine-tune the individual locations of the cache data dirs
29# for the Cache data, or the Session saves, un-comment the desired settings
30# here:
31#beaker.cache.data_dir = %(here)s/data/cache
32#beaker.session.data_dir = %(here)s/data/sessions
33
34# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
35# Debug mode will enable the interactive debugging tool, allowing ANYONE to
36# execute malicious code after an exception is raised.
37#set debug = false
38
39
40# Logging configuration
41[loggers]
42keys = root, oai_info_editor
43
44[handlers]
45keys = console
46
47[formatters]
48keys = generic, debug
49
50[logger_root]
51level = INFO
52handlers = console
53
54[logger_oai_info_editor]
55level = DEBUG
56handlers =
57qualname = oai_info_editor
58
59[handler_console]
60class = StreamHandler
61args = (sys.stderr,)
62level = NOTSET
63formatter = debug
64
65[formatter_generic]
66format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
67datefmt = %H:%M:%S
68
69[formatter_debug]
70format = %(asctime)s.%(msecs)03d %(filename)s:%(lineno)d %(levelname)s %(message)s
71datefmt = %H:%M:%S
72
Note: See TracBrowser for help on using the repository browser.