- Python version:
3.8
- Django version:
3.2
- PostgreSQL version:
13
- Tasks processing:
dramatiq[redis]
- Install Python 3.8.15
- Install Docker
- Install Taskfile
- Initialize project:
task init
- Know more about all available tasks run
task --list
- Optional install Allure:
brew install allure
To run application type task up
To test application type task test
To stop application type task down
To build application docker image type task build
Important info:
task lint
andtask format
uses local venvtask freeze
creates temp venv locally, install requirements.txt, freeze it and do cleanup- If you add new python requirement, you have to run
task freeze
and thentask build
commands
To run specific test just run task test:concrete -- <any_part_of_test_name>
To run only failed test type task test:failed
To show html coverage report run task coverage
To inspect tests results with allure type task allure
(needs installed allure)