Skip to content
This repository has been archived by the owner on Jan 3, 2022. It is now read-only.

magocod/dj_chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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