Learn to Build Real Time Chat with Django Channels
- Django 2.0.5 or Django 1.11
- Channels 2.1.1
- Python 3.5 (and up)
$ cd path/to/your/dev/folder
$ mkdir channels
$ cd channels
$ git clone https://github.com/codingforentrepreneurs/ChatXChannels .
$ git reset 2d1d70cff13e77c5a83d50282b18e978d1f5fdbe --hard
$ git remote remove origin
$ virtualenv -p python3 .
$ source bin/activate
(channels) $ pip install -r requirements.txt
2 - Non-Realtime Chat with Django only
5 - Consumer in Python & WebSocket API in JavaScript
6 - Accept WebSocket Connection
7 - Send & Receive Messages via WebSockets
12 - Save Chats in the Database
13 - Broadcast Messages to Group