- Python 3.12+
- Docker (for running dependencies like Postgres and S3 locally)
- UV (for managing Python dependencies)
Install dependencies (including dev tools):
uv sync --extra devInstall the pre-commit hooks so ruff runs automatically before each commit:
uv run pre-commit installTo run the hooks manually against all files at any time:
uv run pre-commit run --all-filesIn order to run the services locally you can use the provided docker-compose.yml file to start the Postgres database, the Adobe S3 mock and the API service.
Before starting the services, make sure to update the POSTGRES_USER, POSTGRES_PASSWORD, and POSTGRES_DB environment variables in docker-compose.yml with your desired values.
You also need to create a .env file in the api/ directory based on the provided .env.example and fill in the required environment variables.
docker compose up -dFor the validator, create a .env file in the validator/ directory based on the provided .env.example and fill in the required environment variables. Depending on the "MODE" env variable value you might start a "Screener" or a "Validator"
python -m validator.src.main