# Lab setup and resources

Set up the offline DocDesk exercises and understand their limits.

Source: https://bitsandbias.com/course/lab-setup/

---

[Download the DocDesk lab kit](/course/downloads/docdesk-labs.zip), extract it, and open a terminal in its `labs` directory. Python 3.10 or later is recommended. The exercises use the standard library and do not require an API key, Docker, or a paid service.

## Explore the application

<CodeBlock language="bash">
```bash
python -m docdesk demo --mode starter
python -m docdesk demo --mode reference
python -m unittest discover -s tests -v
python -m unittest discover -s challenges -v
```
</CodeBlock>

The starter intentionally demonstrates failures. The reference tests should pass; the student challenges initially fail until you implement the exercises in `docdesk/student.py`. Read the included `README.md` for individual stages and commands.

## How to work

Run the challenges, implement one stage, add a negative test, and rerun it. Record observed results and their limitations before moving on. The capstone asks you to document a baseline, an evaluation report, and a release decision.

The fake provider and fixture documents are teaching tools, not a real model or proof of production readiness. Do not add private customer data or secrets to the exercises. Real deployment requires identity, authorization, security review, and evaluation on representative data.
