Created
October 25, 2012 09:47
-
-
Save bloomonkey/3951712 to your computer and use it in GitHub Desktop.
Deploying Cheshire3's SRU Server in Tornado
This file contains 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
import tornado.web | |
import tornado.httpserver | |
import tornado.wsgi | |
from cheshire3.web.sruWsgi import application | |
container = tornado.wsgi.WSGIContainer(application) | |
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