2005-07-22 | paulb | raw annotate files changeset graph | [project @ 2005-07-22 20:32:13 by paulb] Improved and fixed the JavaScript method call description and details. Added a description of the changes required in the Web resource. |
1 #!/usr/bin/env python 2 3 from WebStack.Adapters.BaseHTTPRequestHandler import deploy 4 import Configurator 5 6 # Get a simple Web site. 7 8 resource = Configurator.get_site() 9 10 # Special magic incantation. 11 12 print "Serving..." 13 deploy(resource, handle_errors=0) 14 15 # vim: tabstop=4 expandtab shiftwidth=4