2007-01-18 | paulb | file changeset files shortlog | [project @ 2007-01-18 22:47:44 by paulb] Updated "root path" note. |
paulb@26 | 1 | #!/usr/bin/env python |
paulb@26 | 2 | |
paulb@324 | 3 | from WebStack.Adapters.Twisted import deploy |
paulb@416 | 4 | from Calendar import CalendarResource |
paulb@26 | 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@26 | 12 | |
paulb@26 | 13 | # vim: tabstop=4 expandtab shiftwidth=4 |