Skip to content

szkmk13/social-app-backend

Repository files navigation

socialapp

All and nothing

Built with Cookiecutter Django

Basic Commands

Install requirements and migrate:

pip install -r requirements/local.txt

python manage.py migarte

Start server

python manage.py runserver

Setting Up Your Users

To create a admin, use this command:

python manage.py createsuperuser

Test command:

pytest --cov-config .coveragerc --cov-report term --cov=socialapp

Test coverage

To run the tests, check your test coverage, and generate an HTML coverage report:

coverage run -m pytest

coverage html

open htmlcov/index.html

Type checks

Running type checks with mypy:

$ mypy socialapp

Releases

No releases published

Packages

No packages published