Created
November 17, 2016 12:02
-
-
Save patrys/e17de1394249a21125678f546eaa7294 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env python | |
from tornado import httpserver, ioloop, wsgi | |
from saleor.wsgi import application | |
container = wsgi.WSGIContainer(application) | |
server = httpserver.HTTPServer(container) | |
server.bind(8000) | |
server.start(0) | |
ioloop.IOLoop.current().start() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment