Created
April 11, 2011 07:43
-
-
Save podados/913203 to your computer and use it in GitHub Desktop.
pyblosxom wsgi via tornado.wsgi.WSGIContainer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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