https://github.com/davidfstr/channels-chat-example
Example chat server implemented with Django Channels.
https://github.com/davidfstr/channels-chat-example
Last synced: 4 months ago
JSON representation
Example chat server implemented with Django Channels.
- Host: GitHub
- URL: https://github.com/davidfstr/channels-chat-example
- Owner: davidfstr
- License: mit
- Created: 2018-02-05T06:04:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-20T22:53:53.000Z (over 6 years ago)
- Last Synced: 2025-02-24T03:36:34.666Z (4 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# channels-chat-example
This is a simple chat server implemented with Django Channels 2.0 and WebSockets.
## Install
* Install Docker
* Install Python 3.5+
```
# Install pipenv to system Python, if not already done
pip3 install pipenv# Create virtual environment for this project and install dependencies
pipenv install
```## Run
```
docker run --name chat-redis -p 6379:6379 -d redis:2.8
pipenv run python3 manage.py runserver
```Browse to:
## Test
```
pipenv run python3 manage.py test
```## License
MIT.