2008-05-01 | paulb | file changeset files shortlog | [project @ 2008-05-01 21:46:34 by paulb] Added a deployment URL for the application, distinct from the 'app_url' which is used to build redirection paths using the entire request path. |
paulb@352 | 1 | #!/usr/bin/env python |
paulb@352 | 2 | |
paulb@352 | 3 | from WebStack.Adapters.BaseHTTPRequestHandler import deploy |
paulb@352 | 4 | from VerySimple import VerySimpleResource |
paulb@352 | 5 | |
paulb@352 | 6 | # Special magic incantation. |
paulb@352 | 7 | |
paulb@352 | 8 | print "Serving..." |
paulb@716 | 9 | deploy(VerySimpleResource(), handle_errors=0) |
paulb@352 | 10 | |
paulb@352 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |