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

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

adding symlink config options to development ini template

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
39cows.browser_caching_enabled = false
40
41#symlink checker settings, check interval is in minutes
42#the csml directory is searched periodically for broken symlinks
43#if email settings are configured, email is sent, else just messages are written to log
44 
45#cows.csml.symlink_check_interval = 60
46#cows.csml.send_symlink_warnings_to = username@xyz.com, username2@xyz.com
47#cows.csml.send_symlink_warnings_from = pylons@abc.com
48#cows.csml.symlink_warnings_smtp = outbox.x.y.z.com
49
50
51##############################################################################
52
53beaker.session.key = ogcservices
54beaker.session.secret = somesecret
55
56
57# If you'd like to fine-tune the individual locations of the cache data dirs
58# for the Cache data, or the Session saves, un-comment the desired settings
59# here:
60#beaker.cache.data_dir = %(here)s/data/cache
61#beaker.session.data_dir = %(here)s/data/sessions
62
63# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
64# Debug mode will enable the interactive debugging tool, allowing ANYONE to
65# execute malicious code after an exception is raised.
66#set debug = false
67
68# Logging configuration
69[loggers]
70keys = root
71
72[handlers]
73keys = console
74
75[formatters]
76keys = generic
77
78[logger_root]
79level = INFO
80handlers = console
81
82[handler_console]
83class = StreamHandler
84args = (sys.stderr,)
85level = NOTSET
86formatter = generic
87
88[formatter_generic]
89format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
90datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.