This project implements a small Django news site.
PostgreSQL
Celery
Django REST Framework
Poetry
NGINX
& Gunicorn
Redis
Docker Hub
& Github Actions
pytest
& mixer
flake8
flower
, Grafana
& Prometheus
Sentry
Makefile
- file with all commandsdump.sql
- PostgreSQL
dump in SQL
formatDockerfile.yml
- Dockerfiledocker-compose.yml
- file for deployment Docker
containers.docker/.env
- env variablessrc/.flake8
- flake8
linter config filesrc/.coveragerc
- coverage config filesrc/pytest.ini
- pytest
config fileInstall dependencies:
make deps
Run Celery
:
make celery
flower
:
make flower
Run server:
make server
Linter checks:
make linter
Tests:
make tests
pytest --cov-report term-missing -rs --cov=.
pytest --cov-report html --cov=.
src/.coveragerc
POSTGRES_DB
)make up