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.CGI import deploy 11 from OpenIDLogin import get_site_map 12 13 app_url = "http://localhost" # No trailing "/"! 14 deployment_url = "http://localhost/cgi/openidlogin" # No trailing "/"! 15 resource = get_site_map(app_url, deployment_url) 16 17 deploy(resource, handle_errors=0) 18 19 # vim: tabstop=4 expandtab shiftwidth=4