2007-04-12 | paulb | file changeset files shortlog | [project @ 2007-04-12 18:41:16 by paulb] Updated release information. |
paulb@251 | 1 | #!/usr/bin/env python |
paulb@251 | 2 | |
paulb@251 | 3 | from WebStack.Adapters.BaseHTTPRequestHandler import deploy |
paulb@251 | 4 | import Candidate |
paulb@251 | 5 | |
paulb@251 | 6 | # Get a simple Web site. |
paulb@497 | 7 | # NOTE: Change the filesystem encoding if appropriate. |
paulb@251 | 8 | |
paulb@517 | 9 | resource = Candidate.get_site("iso-8859-15") |
paulb@251 | 10 | |
paulb@251 | 11 | # Special magic incantation. |
paulb@251 | 12 | |
paulb@251 | 13 | print "Serving..." |
paulb@251 | 14 | deploy(resource, handle_errors=0) |
paulb@251 | 15 | |
paulb@251 | 16 | # vim: tabstop=4 expandtab shiftwidth=4 |