https://github.com/fanqingsong/django_channels_chat_official_tutorial
demo project for django channels tutorial
https://github.com/fanqingsong/django_channels_chat_official_tutorial
django
Last synced: 3 months ago
JSON representation
demo project for django channels tutorial
- Host: GitHub
- URL: https://github.com/fanqingsong/django_channels_chat_official_tutorial
- Owner: fanqingsong
- Created: 2021-10-21T15:40:09.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-22T02:36:07.000Z (over 3 years ago)
- Last Synced: 2025-01-14T13:53:48.104Z (5 months ago)
- Topics: django
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# django_channels_chat_official_tutorial
demo project for django channels tutorial# code from tutorial page:
https://channels.readthedocs.io/en/stable/tutorial/index.html# RUN
## start redis server
```
pip3 install -U channels_redisdocker run -p 6379:6379 -d redis:5
```## start dev server
```
pip3 install -U channelspython3 manage.py runserver
```## access chat page
go to chrome, access the following URL:
http://127.0.0.1:8000/chat/enter lobby, then click Enter to go to room page
## on chat room page
http://127.0.0.1:8000/chat/lobby/