papasax/django-redis-websocket-heroku-sample
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
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/