Commits

Jason R. Coombs  committed 41a2974

Adding serve.py

  • Participants
  • Parent commits 6231238

Comments (0)

Files changed (1)

+from roundup.cgi.wsgi_handler import RequestDispatcher
+import wsgiref.simple_server
+
+tracker_home = './Adams Row Tracker'
+app = RequestDispatcher(tracker_home)
+httpd = wsgiref.simple_server.make_server('', 8000, app)
+print "Listening on port 8000...."
+httpd.serve_forever()