Example using bottle.py [] with redis and socket.io [].
- Python
- hiredis-py []
- redis-py []
- bottle.py []
- bottle-redis []
- gevent []
- gevent-socketio []
sudo su -
apt-get install python python-dev python-pip build-essential redis-server
pip install hiredis redis bottle-redis gevent gevent-socketio
- Start the web server.
python web.py
- Open web browser to http://127.0.1.1:8080/
- Push the message.
for i in 1 2 3 4 5; do
python tool/push.py
done
Timothy.Lee a.k.a MarlboroMoo.
Released under the MIT License.