source: cows/trunk/cows/pylons/project_templates/cows_server/development.ini_tmpl @ 5366

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows/trunk/cows/pylons/project_templates/cows_server/development.ini_tmpl@5366
Revision 5366, 2.1 KB checked in by domlowe, 11 years ago (diff)

Adding config option for legend font.

Line 
1#
2# OGCServices - 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 = 127.0.0.1
16port = 5000
17
18[app:main]
19use = egg:{{egg}}
20full_stack = true
21cache_dir = %(here)s/data
22
23##############################################################################
24# COWS configuration
25#
26
27# Set to pylons if you want WMS calls to be handled by the pylons debugger.
28# Else WMS exceptions will be raised
29cows.exception_type = pylons
30
31# Point to the service-level OWS configuration file
32cows.capabilities_config = %(here)s/capabilities.cfg
33cows.csml.tmpdir = %(here)s/tmp
34cows.csml.csmlstore = {{csmlstore}}
35cows.csml.colourmap = jet
36cows.csml.publish_dir = %(here)s/publish
37cows.csml.wfsconfig = %(here)s/wfs.cfg
38cows.csml.legendfont= /usr/share/fonts/truetype/msttcorefonts/arial.ttf  #modify this path to render the legend
39
40##############################################################################
41
42beaker.session.key = ogcservices
43beaker.session.secret = somesecret
44
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:
49#beaker.cache.data_dir = %(here)s/data/cache
50#beaker.session.data_dir = %(here)s/data/sessions
51
52# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
53# Debug mode will enable the interactive debugging tool, allowing ANYONE to
54# execute malicious code after an exception is raised.
55#set debug = false
56
57# Logging configuration
58[loggers]
59keys = root
60
61[handlers]
62keys = console
63
64[formatters]
65keys = generic
66
67[logger_root]
68level = INFO
69handlers = console
70
71[handler_console]
72class = StreamHandler
73args = (sys.stderr,)
74level = NOTSET
75formatter = generic
76
77[formatter_generic]
78format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
79datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.