2009-06-22 | Paul Boddie | raw annotate files changeset graph | Added some error handling to the questionnaire application. |
1 #!/usr/bin/env python 2 3 from WebStack.Adapters.Twisted import deploy 4 import VerySimpleWithOpenID 5 6 # Get a simple Web site. 7 8 host = "http://localhost:8080" # or an absolute URL (without path) 9 secret_key = "this_must_be_secret" 10 11 resource = VerySimpleWithOpenID.get_site(host, secret_key) 12 13 # Special magic incantation. 14 15 print "Serving..." 16 deploy(resource, handle_errors=0) 17 18 # vim: tabstop=4 expandtab shiftwidth=4