2009-03-21 | Paul Boddie | raw annotate files changeset graph | Added filename fix for uploads. Added a rollback method to the DirectoryRepository class in order to support the use of such repositories with StoreSelector instances. |
1 #!/usr/bin/env python 2 3 from WebStack.Adapters.BaseHTTPRequestHandler import deploy 4 from SimpleWithOpenID import get_site_map 5 6 app_url = "http://localhost:8080" # No trailing "/"! 7 secret_key = "horses" # Must match the login authenticator's key. 8 9 resource = get_site_map(app_url, app_url + "/login", secret_key) 10 11 print "Serving..." 12 deploy(resource, handle_errors=0) 13 14 # vim: tabstop=4 expandtab shiftwidth=4