Skip to content

Instantly share code, notes, and snippets.

@bloomonkey
Created October 25, 2012 09:47
Show Gist options
  • Save bloomonkey/3951712 to your computer and use it in GitHub Desktop.
Save bloomonkey/3951712 to your computer and use it in GitHub Desktop.
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