/dj_chat

django channels tests

Primary LanguagePythonMIT LicenseMIT

Django Chat

Python application Build Status Alt text Alt text

basic chat application, using websockets

Tox env

  • Python 3.7
  • Python 3.8
  • Python lint flake8 (py3.8)

Framework

third-party

Tests (98% coverage)

Instructions

Create a virtual python environment and install libraries with pip

pip install -r requirements.txt

Create all virtual environments (using tox)

tox

Migrate the database

python manage.py migrate

run tests (verify successful installation)

pytest

run tests (verify coverage)

pytest --cov

Run development server

python manage.py runserver

Enter the address

http://localhost:8000