Skip to content

What runs in local development?

The development profile runs the UI and API against a local database and authentication emulator without the hosted operator’s accounts. Its fixture checks cover signed-in library operations. It is a development path while a supported self-host installation is planned.

With Node 24, the reviewed root and API dependencies, Docker and Firebase CLI 15.34.1 available, use the repository launcher from the checkout root:

Terminal window
npm ci --ignore-scripts
npm --prefix api ci --ignore-scripts
node scripts/patch-braces.mjs --apply
node api/scripts/patch-storage-transport.mjs --apply
python3 tools/dev/start_local.py

The reader binds to localhost:8080 and the API to localhost:8081. The launcher checks authenticated fixture reads, denied reads for unapproved accounts and a tag round trip. It uses synthetic accounts in the emulator and preserves local PostgreSQL state across restarts. Follow the launcher’s readiness output before opening the reader.

Paid providers, real mail, private object storage and the PDF worker require additional integrations. See deployment requirements.

Source files tools/dev/start_local.py, tools/dev/schema.sql, tools/dev/seed_local.mjs.