Using Django Channels 2.4 & pure Javascript HTML5 Websocket Playground base
my-channels-play-pub
directory)
git clone https://github.com/ionescu77/my-channels-play-pub.git
cd my-channels-play-pub
# I am using python3, because I keep python for Py2
python3 --version
python3 -m venv .
source bin/activate
# Following should return hopefully python >3.5
python --version
# Might want to upgrade pip
pip install --upgrade pip
pip install -r requirements.txt
cd src
python ./manage.py runserver
document.ws.send("Send via socket!")
websocketbridge.js
was not included anymore in channels >2.4.