Skip to content

xadahiya/django-redis-websocket-heroku-sample

 
 

Repository files navigation

This configuration uses uwsgi in Emperor mode
The emperor launches 2 instances, one for the websocket and one for the webserver

pip install -r requirements.txt

# test uWSGI with low traffic:
# uwsgi --virtualenv $VIRTUAL_ENV --http :9090 --gevent 100 --http-websockets --module wsgi

On heroku install a postgres database and a herokuredis database

git push heroku master

And that's it.

It's there : https://django-redis-websocket-heroku.herokuapp.com/chat/

About

django redis websocket heroku sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.8%
  • HTML 30.2%