Skip to content

Instantly share code, notes, and snippets.

@gmat
Created August 27, 2018 12:53
Show Gist options
  • Save gmat/e74098377126df2ef67cc9ab54375ea1 to your computer and use it in GitHub Desktop.
Save gmat/e74098377126df2ef67cc9ab54375ea1 to your computer and use it in GitHub Desktop.
python script to get roundup issue tracker works as wsgi app
from wsgiref.simple_server import make_server
from roundup.cgi.wsgi_handler import RequestDispatcher
tracker_home = '/home/user/tracks/mytrack'
app = RequestDispatcher(tracker_home)
httpd = make_server('', 8080, app)
httpd.serve_forever()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment