- Install pyenv and poetry globally
- Install python3.12 python globally using pyenv
- Inside the app directory, run
poetry env use /path/to/python312
- Run
poetry install
- Run
poetry shell
to activate virtual environment - Run
autohooks activate
to activate git hooks
- Run
cp .env.tests.local.example .env.tests.local
- Put your dev aidbox license key into
AIDBOX_LICENSE_TEST
in.env.tests.local
- Run
make build-test
at the first time and every time once dependencies are updated/added - Run
make run-test
- You can kill the containers when complete to work with tests by run:
make down-test
Strongly recommended to use ruff and mypy plugins for IDE