magocod / dj_chat

django channels tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

django channels tests

License:MIT License


Languages

Language:Python 98.8%Language:HTML 1.2%Language:JavaScript 0.0%