This is a simple chat server implemented with Django Channels 2.0 and WebSockets.
-
Install Docker
-
Install Python 3.5+
# Install pipenv to system Python, if not already done
pip3 install pipenv
# Create virtual environment for this project and install dependencies
pipenv install
docker run --name chat-redis -p 6379:6379 -d redis:2.8
pipenv run python3 manage.py runserver
Browse to: http://127.0.0.1:8000/chat/
pipenv run python3 manage.py test
MIT.