source: TI05-delivery/ows_framework/trunk/ows_server/ows_server/websetup.py @ 2476

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/ows_framework/trunk/ows_server/ows_server/websetup.py@3015
Revision 2476, 323 bytes checked in by spascoe, 12 years ago (diff)

Adding Pylons template project as ows_server.

Line 
1import paste.deploy
2
3def setup_config(command, filename, section, vars):
4    """
5    Place any commands to setup ows_server here.
6    """
7    conf = paste.deploy.appconfig('config:' + filename)
8    conf.update(dict(app_conf=conf.local_conf, global_conf=conf.global_conf))
9    paste.deploy.CONFIG.push_process_config(conf)
10
Note: See TracBrowser for help on using the repository browser.