Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uwsgi deployment #36

Closed
iurisilvio opened this issue Jun 12, 2014 · 2 comments
Closed

uwsgi deployment #36

iurisilvio opened this issue Jun 12, 2014 · 2 comments

Comments

@iurisilvio
Copy link

I'm trying to deploy a Flask app with uwsgi (+nginx), but I was unable to do it (#20).

In one of your tutorials (http://blog.miguelgrinberg.com/post/easy-websockets-with-flask-and-gevent/page/4), you say it is possible to run with uwsgi, but in #20 you say it is not possible. Can you clear the status of this issue?

Do you know flask-uwsgi-websocket project? Is it possible to take some ideas from there to make it work with Flask-SocketIO? https://github.com/zeekay/flask-uwsgi-websocket/

@miguelgrinberg
Copy link
Owner

I made an assumption that uwsgi, like gunicorn, would be able to use the custom event loop that comes with gevent-socketio. Unfortunately later when I tried to get uwsgi to work I could not, it does not seem to be possible to tell uwsgi to use the customized WSGI server that comes with gevent-socketio.

@iurisilvio
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants