2009-07-07 | Paul Boddie | file changeset files shortlog | Added XHTML to HTML conversion for deficient browsers. |
paulb@661 | 1 | #!/usr/bin/env python |
paulb@661 | 2 | |
paulb@661 | 3 | from WebStack.Adapters.Twisted import deploy |
paulb@661 | 4 | import Recursive |
paulb@661 | 5 | |
paulb@661 | 6 | # Get a simple Web site. |
paulb@661 | 7 | |
paulb@661 | 8 | resource = Recursive.get_site() |
paulb@661 | 9 | |
paulb@661 | 10 | # Special magic incantation. |
paulb@661 | 11 | |
paulb@661 | 12 | print "Serving..." |
paulb@661 | 13 | deploy(resource, handle_errors=0) |
paulb@661 | 14 | |
paulb@661 | 15 | # vim: tabstop=4 expandtab shiftwidth=4 |