source: cowsclient/trunk/development.ini @ 5698

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cowsclient/trunk/development.ini@5702
Revision 5698, 2.0 KB checked in by pnorton, 11 years ago (diff)

Implemented the display options to hide and set defaults for named endpoints and layers. This was done to hide some of the less common display options provided by the server but also allow them to be set on specific datasets.

Line 
1#
2# cowsclient - 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# Uncomment and replace with the address which should receive any error reports
9#email_to = you@yourdomain.com
10smtp_server = localhost
11error_email_from = paste@localhost
12
13[server:main]
14use = egg:Paste#http
15host = localhost
16port = 5005
17
18[app:main]
19use = egg:cowsclient
20full_stack = true
21cache_dir = %(here)s/data
22beaker.session.key = cowsclient
23beaker.session.secret = somesecret
24serverurl=http://localhost:5005
25
26baselayer.url = http://labs.metacarta.com/wms/vmap0
27baselayer.params = layers:coastline_01,format:image/png
28#baselayer.params = layers:basic,format:image/png
29
30#You can replace the openlayers baselayer with your own WMS base layer here e.g.
31#baselayer.url = http://localhost:5000/coastwms
32#baselayer.params = layers:l,format:image/png
33
34# Add a list of pre-defined endpoints to the UI
35#endpointList = %(here)s/endpoints.txt
36
37# Set some of the display options rules
38#displayOptionsConfig = %(here)s/displayOptions.ini
39
40# If you'd like to fine-tune the individual locations of the cache data dirs
41# for the Cache data, or the Session saves, un-comment the desired settings
42# here:
43beaker.cache.data_dir = %(here)s/data/cache
44beaker.session.data_dir = %(here)s/data/sessions
45
46
47# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
48# Debug mode will enable the interactive debugging tool, allowing ANYONE to
49# execute malicious code after an exception is raised.
50# set debug = false
51
52
53# Logging configuration
54[loggers]
55keys = root, cowsclient
56
57[handlers]
58keys = console
59
60[formatters]
61keys = generic
62
63[logger_root]
64level = INFO
65handlers = console
66
67[logger_cowsclient]
68level = INFO
69handlers =
70qualname = cowsclient
71
72[handler_console]
73class = StreamHandler
74args = (sys.stderr,)
75level = NOTSET
76formatter = generic
77
78[formatter_generic]
79format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
80datefmt = %H:%M:%S
81
Note: See TracBrowser for help on using the repository browser.