Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.06 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.06 KB

Django Channels Examples

Examples of asynchronous projects with Django Channels 2. Check out:

Setup

Use the pipenv tool

$ pip install pipenv
$ cd <proj-dir>
$ pipenv install

Start the redis server (and make sure it is running in the background)

$ redis-server

Now you need to enter the pipenv shell to run the examples:

$ pipenv shell
$ python manage.py migrate
$ python manage.py createsuperuser
$ python manage.py runserver

You should see no notifications. Now open another browser window and log into Django admin. Add a new user. If you look at the first browser windows, then you should see the new user notification.

Other Examples

Check out other branches of this git repository to see the other examples: