heroku-python / flask-sockets

[DEPRECATED] Alternative: https://github.com/miguelgrinberg/flask-sock
MIT License
1.74k stars 164 forks source link

Integrating with existing flask app and uwsgi. #12

Closed homer6 closed 8 years ago

homer6 commented 10 years ago

I'm having a bit of an issue using flask-sockets in the context of an existing flask app.

Any chance you could point me in the right direction? I've create a SO post for it:

http://stackoverflow.com/questions/20910616/how-to-integrate-flask-and-flask-sockets-into-a-single-app-running-under-uwsgi

Thanks in advance...

mbildner commented 10 years ago

I'll poke around because I'm curious too, but it should be trivial to drop in gunicorn as a replacement for uwsgi to get things working for now. like I said though I am curious as to how that might work... :)

mbildner commented 10 years ago

it looks like it shouldn't be too much work to add a uwsgi option into the project, leveraging this:

https://github.com/unbit/uwsgi-docs/blob/master/WebSockets.rst

kennethreitz commented 8 years ago

That would be great!