Minimal Daphne/Channels example to test in PyCharm.
- Install requirements.
- Start Redis, e.g. with Docker:
docker run --rm -d -p 6379:6379 redis:5
- Run migrations:
python manage.py migrate
- Start the Django server using PyCharm's run/debug configuration.
- Open http://127.0.0.1:8000/chat/lobby/ in two separate browser tabs.
- Write something to the chat.