Contributing
Install uv
git clone ..
uv venv .venv --python 3.12
source .venv/bin/activate
uv sync --all-extras
pre-commit install
Run tests
pytests tests
Run Selenium tests (ONLY)
pytests tests -m selenium
Run Selenium any tests
pytests tests --selenium
Note
You can disable selenium headless mode (show the browser activity on the screen) using --show-browser
flag
Run local server
./manage.py runserver
Note
To facililate developing you can use:
export AUTHENTICATION_BACKENDS="country_workspace.security.backends.AnyUserAuthBackend"
It works only if DEBUG=True