An efficient multi-user Chat WebApp built with Django, Web Sockets, and Channels 2.
Python >= 3.6
virtualenv >= 16.0.0
- For Ubuntu follow this link.
- For Mac OS follow this link.
- Redis does not support Windows officially.
virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 manage.py migrate
python3 manage.py runserver
# This builds the Docker image.
docker build -t "pujanm/chat_app" .
# This will start the container.
docker run -itd --name chat_app_cont -p 8000:8000 pujanm/chat_app
# To stop and remove the container
docker stop chat_app_cont && docker rm chat_app_cont
You can access the WebApp at http://localhost:8000
- Group Chat
- Finding which user is currently typing
- User Online / Offline
- Finding out count of messages unread in a chat