Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Deploying Cheshire3's SRU Server in Tornado
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