Getting started¶
Here's how to set up doc-redaction
for local development.
Please note this documentation assumes you already have uv
and Git
installed and ready to go.
- Clone the repository:
git clone https://github.com/deadhand777/doc-redaction.git
- Now install the environment. Navigate into the directory
cd doc-redaction
Then, install and activate the environment with:
uv sync
- Install pre-commit to run linters/formatters at commit time:
uv run pre-commit install
Congratulations, now your setup is completed!
- Run the workflow on a sample PDF document:
uv run src/doc_redaction/workflow.py --key spielbank_rocketbase_vertrag