Skip to main content

Local Development

This page covers what's common across the ecosystem: toolchain requirements, environment configuration, and the generated-documentation workflow. Service-specific setup lives in that service's own repository — see the Repository Map to find it, and that repository's own README for exact commands.

Prerequisites​

Git is required for every repository. Beyond that, requirements are per-component, not platform-wide — no single toolchain install gives you everything, and nothing in this documentation set asks you to install the entire production stack to make one small change.

Python version varies by repository, genuinely — the ecosystem is not on one shared version:

ConstraintRepositories
Python 3.9+The shared IAM client library
Python 3.10+The main platform UI, model registry, workflow bundles, API gateway, SDK
Python 3.11+Tool execution service, ToolServer, RAG, LIMS, Control Center backend, the cross-service regression suite
Not declared in the repository's own build configurationA handful of smaller backend services

If you're working across more than one Python repository, expect to need more than one interpreter version available (for example via pyenv or a per-repository virtual environment), not one shared one.

Node.js: no ecosystem-wide version is declared in any application repository's own package.json. This documentation site itself pins a specific Node version for its own build (see its package.json engines field) — that pin is this repository's own, not a platform-wide requirement.

Docker / Docker Compose: required to build or run a service's own container, and required for the platform's reference local-development stack (omnibioai-studio's Compose file). Check the host/file matrix before using the base stack: it declares NVIDIA and Linux/ARM64 host assets. Many individual services can also be unit-tested as a bare local process without Docker at all — check that repository's own README.

GPU / architecture-specific tooling (CUDA, Singularity/Apptainer, Slurm or cloud-batch SDKs) is relevant only to specific execution paths — GPU- backed inference, HPC/Slurm tool execution, and cloud-batch adapters. It is not required to read, unit-test, or contribute to most of the platform's own service code. Where a repository's own build targets a specific CPU architecture (for example, container images built for ARM64), that describes that repository's own build target, not a requirement for your development machine's architecture.

Environment configuration​

Several repositories provide a .env.example (or equivalent) template at their root; others document required configuration directly in their own README. Either way, the owning repository's own template or README is authoritative — this page does not attempt to enumerate every environment variable across roughly thirty repositories, because that list would drift the moment any one of them changed.

Secret-safe local development​

None of this documentation set will ever instruct you to:

  • copy a production .env file into a local checkout,
  • reuse a production Redis instance, credential, or connection string,
  • reuse a production database or its credentials,
  • reuse a production signing key or cloud credential,
  • point a locally running service at production infrastructure,
  • casually use real, patient-linked data as local test fixtures.

Where a repository provides a safe local alternative, its own template documents it — local development is meant to run against your own disposable containers, credentials, and data, never against anything real. Where no safe local alternative is documented for something you need, that is a real gap, not something to work around by reaching for production access.

Safe command classification​

ClassificationMeaningExample
Read-onlyInspects state, changes nothinggit status, reading source, node scripts/verify-generated-catalogs.mjs
Safe localRuns entirely against your own local process/environmentRunning a repository's own test suite against its own mocks/local database
Generates local artifactsWrites files in your own working treeRunning one of this repository's generate-*.mjs scripts
Mutates local dev stateCreates/changes local containers, volumes, or a local databasedocker compose up; a repository's own local migration command against its own local database
Deployment-onlyNot a development step at allThis repository's own production deploy mechanism; any release-profile Compose invocation

Nothing in this documentation set is, or should ever be represented as, production-sensitive — a command that would touch real production infrastructure. If you encounter an instruction that looks like it would, treat that as a documentation defect and do not run it.

Local run mechanisms actually supported​

  • omnibioai-studio: docker compose up against its own docker-compose.yml, after completing the operator guidance and operator guidance. A copied environment template alone does not provision its identities or bind assets. This is the platform's reference local stack, close in shape to the deployed topology — it brings up MySQL, Redis, and most services together, not a single isolated component.
  • Individual backend services: most support a framework-standard local process (for example, uvicorn for a FastAPI service, or Django's own runserver for the main platform UI and LIMS) — see that repository's own README, since the exact command varies. Most of these services need at least a local MySQL and/or Redis instance to do anything beyond start; few are meaningfully useful entirely in isolation.
  • Library packages (the shared UI component library, design tokens, the Python SDK, the IAM client): install/build with the ecosystem's normal package manager for that language; they are not standalone services.
  • The cross-service regression suite: runs against an already-running deployment — it does not start one itself. See Testing & Quality for what its smoke/integration/e2e tiers actually check.

No single docker compose up instruction is given here as something every engineer should run for every change — most single-repository work does not need the full stack.

Database and migrations​

Where a repository owns its own schema, it uses either Alembic (several FastAPI-based services) or Django's own migration framework (the main platform UI, LIMS). The operator guidance distinguishes services that invoke migrations at startup from those requiring an explicit owner step. See the owner's migration guide and run any migration only against your own local/development database, never a shared or production one. A handful of smaller services have no migration system established in this documentation set's own inspection; treat that as unconfirmed rather than assuming either a different mechanism or no persistent schema.

Generated artifacts​

omnibioai-docs publishes several catalogs (plugins, integrations, reference data, TES tools and execution backends, workflows, the API reference, and the biomedical knowledge inventory) generated deterministically from other repositories' own source. The contract:

source (an owning repository)
-> generator (a script in this repository)
-> generated artifact (a JSON file plus rendered pages)
-> verify (re-render and diff against what's committed)
-> validate (front matter, routes, structure)
-> build

Never hand-edit a generated page or JSON file. npm run verify:generated checks committed artifacts against rendered pages without source repositories. Generator flags are family-specific: the API generator's --verify reads sibling source; Compose uses --verify for source freshness and --verify-artifacts for local rendering consistency. From site/, run npm run verify:source where pinned sibling repositories are available. Its architecture check explicitly uses --compose-only; it does not assert that every repository in the broader architecture inventory is checked out.

CI builds the docs and checks committed generated artifacts, including the Compose page. It cannot establish API/source freshness without owning checkouts. Regeneration needs source through the generator's documented --source or --source-root option. Record source revision and working-tree state before reviewing changes.

Regenerating a catalog never executes the application code it describes. The TES catalog generator parses tool-definition YAML; it does not run any tool. The plugin and integration catalog generators read manifests and statically parse (never import or execute) plugin source. This is a deliberate, repeated design choice across every generator in this family.

See omnibioai-docs's own workflow below for the exact regeneration and verification commands.

omnibioai-docs itself​

npm install # from the repository root
cd site && npm install # site/'s own dependencies

npx vitest run # full test suite (run from the repository root)
npm run verify:generated # generated-catalog verification (run from site/)
node scripts/validate-source.mjs # front-matter/route/H1 validation (run from site/)
npm run build # validate:source -> docusaurus build -> validate:build (run from site/)

One known, pre-existing, unrelated test failure exists: a Vite build- configuration test expects a specific output directory and observes a different one, tracked separately from documentation content. The suite is not fully green, and this page does not claim otherwise — see Testing & Quality for the current, dated state of this and every other testing claim on this site.