2007-09-27 | paulb | file changeset files shortlog | [project @ 2007-09-27 17:48:34 by paulb] Updated the deployment tool to use jython in the environment if run directly and to support a configurable cache directory and Python path; added these extra fields to the deployment descriptor file. |
paulb@47 | 1 | #!/usr/bin/env python |
paulb@47 | 2 | |
paulb@324 | 3 | from WebStack.Adapters.BaseHTTPRequestHandler import deploy |
paulb@416 | 4 | from Calendar import CalendarResource |
paulb@47 | 5 | |
paulb@265 | 6 | print "Serving..." |
paulb@493 | 7 | |
paulb@493 | 8 | # Choose or customise one of the following if the example fails. |
paulb@493 | 9 | |
paulb@416 | 10 | deploy(CalendarResource()) |
paulb@493 | 11 | #deploy(CalendarResource("iso-8859-1")) |
paulb@47 | 12 | |
paulb@47 | 13 | # vim: tabstop=4 expandtab shiftwidth=4 |