2008-05-01 | paulb | raw annotate files changeset graph | [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. |
1 #!/usr/bin/env python 2 3 # Uncomment and adjust the paths below if WebStack is not installed somewhere 4 # on the PYTHONPATH. 5 6 #import sys 7 #sys.path.append("/home/paulb/Software/Python/WebStack") 8 #sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 9 10 from WebStack.Adapters.WSGI import deploy_with_wsgiref as deploy 11 from VerySimple import VerySimpleResource 12 13 deploy(VerySimpleResource(), handle_errors=0) 14 15 # vim: tabstop=4 expandtab shiftwidth=4