source: cowsclient/trunk/development.ini @ 6119

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

Made several changes to try and reduce the amount of data to download on the wmsviz page. Also created a single place where the js files for the wmsviz page are listed.

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
26# select a custom openlayers path, cc_openlayers is the cows client reduced version
27openlayers_js_path = %(serverurl)s/js/cc_openlayers/OpenLayers.js
28#openlayers_js_path = %(serverurl)s/js/openlayers/lib/OpenLayers.js
29
30# can turn on the use of minified yui and cowsclient javascript
31# minified_yui_javascript = true
32# minified_client_javascript = true
33
34# Define the outline layers
35outlineConfig        = %(here)s/outline_layers.ini
36
37# Add a list of pre-defined endpoints to the UI
38#endpointConfig       = %(here)s/endpoints.ini
39
40# Add a list of further info links for the endpoints
41#furtherInfoConfig    = %(here)s/further_info.ini
42
43# Set some of the display options rules
44#displayOptionsConfig = %(here)s/displayOptions.ini
45
46# If you'd like to fine-tune the individual locations of the cache data dirs
47# for the Cache data, or the Session saves, un-comment the desired settings
48# here:
49beaker.cache.data_dir = %(here)s/data/cache
50beaker.session.data_dir = %(here)s/data/sessions
51
52
53# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
54# Debug mode will enable the interactive debugging tool, allowing ANYONE to
55# execute malicious code after an exception is raised.
56# set debug = false
57
58
59# Logging configuration
60[loggers]
61keys = root, cowsclient
62
63[handlers]
64keys = console
65
66[formatters]
67keys = generic
68
69[logger_root]
70level = INFO
71handlers = console
72
73[logger_cowsclient]
74level = INFO
75handlers =
76qualname = cowsclient
77
78[handler_console]
79class = StreamHandler
80args = (sys.stderr,)
81level = NOTSET
82formatter = generic
83
84[formatter_generic]
85format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
86datefmt = %H:%M:%S
87
Note: See TracBrowser for help on using the repository browser.