/django-websockets

Sandbox project for testing websockets and graphql

Primary LanguagePython

Description

This project demonstrate POC of how to married WebSockets with Django signals.

Instructions

  1. Start application.

    $ git clone https://github.com/ldynia/django-websockets -b debian
    $ cd django-websockets
    $ git checkout tags/v1.0.0 -b POC/sync
    $ git checkout tags/v2.0.0 -b POC/async
    $ docker-compose up
  2. Open application http://localhost:8000/ws/models/person

  3. Open terminal and send message triggered by executing CLI command.

    $ docker exec -it django-demo-app ./manage.py demo