GitHub - codeitpro/flask-gevent-socketio-chat: Minimal example of using Flask with python-gevent · GitHub
Skip to content

About

Minimal example of using Flask with python-gevent

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

I couldn't find a minimal example of using Flask (a small web framework) with gevent-socketio (a simple way to get websockets). So this is a straight-up port of the chat example from gevent-socketio to Flask.

You'll need Flask and gevent-socketio installed. Then just run python server.py.

You can use virtualenv too, just type:

mkvirtualenv flask-chat
pip install -r requirements.txt
python server.py

About

Minimal example of using Flask with python-gevent

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages