Skip to content

Instantly share code, notes, and snippets.

@tylertreat
Created December 31, 2014 20:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tylertreat/dcf866751c843c51e9af to your computer and use it in GitHub Desktop.
Save tylertreat/dcf866751c843c51e9af to your computer and use it in GitHub Desktop.
if __name__ == '__main__':
app = create_app()
server = SocketIOServer(
('0.0.0.0', 5000),
SharedDataMiddleware(app, {}),
policy_server=False)
server.serve_forever()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment