Skip to content

Instantly share code, notes, and snippets.

@sharvell
Forked from podados/gist:913203
Created April 2, 2013 10:37
Show Gist options
  • Select an option

  • Save sharvell/5291346 to your computer and use it in GitHub Desktop.

Select an option

Save sharvell/5291346 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import tornado.wsgi
import tornado.httpserver
import tornado.ioloop
from Pyblosxom.pyblosxom import PyBlosxomWSGIApp
container = tornado.wsgi.WSGIContainer(PyBlosxomWSGIApp())
http_server = tornado.httpserver.HTTPServer(container)
http_server.listen(8888)
tornado.ioloop.IOLoop.instance().start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment