Stack:
- Django
- Django Rest Framework
- PostgreSQL
- Pytest
- Nginx
- Docker Compose
Base url: http://localhost
Admin url: http://localhost/admin/
Api: http://localhost/api/
Swagger: http://localhost/api/swagger/
p: password
docker compose build
docker compose up
docker exec -it web pytest
docker exec -it web flake8 .
docker exec -it web mypy .
Write docker ps
and get name for container.
After this run docker exec -it <name-that-you-get-in-docker-ps> <command>