An open API service indexing awesome lists of open source software.

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.

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.