source: MILK/trunk/milk_server/milk_server/websetup.py @ 4467

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MILK/trunk/milk_server/milk_server/websetup.py
Revision 4467, 324 bytes checked in by cbyrom, 12 years ago (diff)

Strip out code not relevant to MILK - mainly WCS and WMS stuff - also including the CSML server code + trackback code
Also tidy up structure of 'public' dir - setting up new 'style' dir and
centralising icons in icons dir + remove all unused icons, javascript and stylesheets.
Also strip out testcase code and populate new test directory structure.

Line 
1import paste.deploy
2
3def setup_config(command, filename, section, vars):
4    """
5    Place any commands to setup milk_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.