Skip to content

Development Documentation

This documentation is intended for the internal DaSCH development team.

Setting Up

Install Nix with flakes enabled (the Determinate installer CI uses enables them), direnv with its shell hook and nix-direnv. Docker is needed only for the dsp-api stack the Cypress suite runs against (just e2e-stack-up, from a dsp-api checkout at DSP_API_DIR, ../dsp-api by default) and for the image recipes. In the repository root, direnv allow enters the dev shell, which provides Bazel, just, pnpm, Node and Playwright's browsers. Then:

just install   # the npm dependencies from pnpm-lock.yaml
just ci        # the gate: build, tests, lint, knip, Storybook build, e2e type-check, visibility and version checks
just help      # every recipe

CI runs just ci too, followed by just lint-selftest and the image smoke test (just nginx-smoke-test) in the same job, and the Storybook interaction tests, the Cypress suite and the docs build as jobs of their own. Without the CI remote cache, the first local build compiles everything.

Bazel builds and tests every library and the application (ADR 0007); the Build Baselines record its measured numbers.

For Users and Researchers

If you need support or have questions about using the DSP platform:

Source Code

The DSP-APP is open source software available on GitHub under the Apache 2.0 license.