source: cows/trunk/cows/pylons/project_templates/__init__.py @ 4917

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows/trunk/cows/pylons/project_templates/__init__.py@4917
Revision 4917, 355 bytes checked in by spascoe, 12 years ago (diff)

Created a Paste project template based on Dom's example server. This
was constructed by following the tutorial at
 http://pylonsbook.com/alpha1/simplesite_part_3 "Making SimpleSite? into a
Paste Project Template"

Line 
1from paste.script.templates import BasicPackage, var
2
3class CowsServer(BasicPackage):
4    _template_dir = 'cows_server'
5    summary = "A Pylons template to create CSML-enabled COWS server"
6    egg_plugins = ['PasteScript', 'Pylons']
7    vars = [
8        var('csmlstore', 'The path to your CSML files',
9            default='%(here)s/csml'),
10        ]
11   
Note: See TracBrowser for help on using the repository browser.