paulb@112 | 1 | #!/usr/bin/env python |
paulb@112 | 2 | |
paulb@570 | 3 | # Uncomment and adjust the paths below if WebStack is not installed somewhere |
paulb@570 | 4 | # on the PYTHONPATH. |
paulb@112 | 5 | |
paulb@570 | 6 | #import sys |
paulb@570 | 7 | #sys.path.append("/home/paulb/Software/Python/WebStack") |
paulb@570 | 8 | #sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") |
paulb@112 | 9 | |
paulb@324 | 10 | from WebStack.Adapters.CGI import deploy |
paulb@112 | 11 | from Simple import SimpleResource |
paulb@112 | 12 | |
paulb@716 | 13 | deploy(SimpleResource(), handle_errors=0) |
paulb@112 | 14 | |
paulb@112 | 15 | # vim: tabstop=4 expandtab shiftwidth=4 |