Niord is one base product that every country runs, with a thin layer of its own on top. The Danish and the Greenland deployments, for example, are each a country built on the base product: a repository of their own that holds only what makes the deployment theirs, such as its languages, look, waters and starting data.

The country kit is the set of tools and guides a country builds its deployment with. It is published with every version of the base product as the package org.niord:niord-country-kit, and after set-up a country reads the guides that match the version it builds on in .niord/kit/docs/ of its own repository.

The pages here are those guides, rendered from the kit as it stands in the source this site was built from, which may be newer than the version a country builds on. Some of the kit’s guides are read in the kit package only; the list below names them, and a page that refers to one names it as a file of the kit package.

Start with The country guides: how the base product and a country fit together, what is mandatory and what is optional, and who reads which guide.

Reading order

  1. Everyone, first: Responsibilities and upgrades (docs/responsibilities-and-upgrades.md, in the kit package only): what the base product gives you, what you own, and how you move to a new base version

  2. People setting up a country: The country guide (docs/country-guide.md, in the kit package only): the standard path from an empty folder: the release, init’s answers, set-up and the local run, then Make it yours and Deploy, with the definition of done and the checklist before go-live

  3. People who extend a country: The country guide in depth (docs/country-guide-in-depth.md, in the kit package only): what init wrote and why, the manifest field by field, languages, seams and own code, the backend beyond the standard, the build, the pipelines and the local run in detail

  4. Designers: The designers' brief: the brand tokens, the contrast floors, fonts, logos and icons, and a brief to paste into a design tool

  5. An AI agent setting up a country: The set-up prompt (docs/set-up-prompt.md, in the kit package only): the prompt a person gives an AI agent in an empty folder: what it never does, the prerequisites, init’s questions, the release, init, set-up, the launcher and its three checks, and the first commit, never pushed

  6. An AI agent in a country: AGENTS.md (templates/AGENTS.md, in the kit package only): the agent contract init writes as AGENTS.md at the root of a new country, with a one-line CLAUDE.md that imports it; a country with its own merges its sections by hand (a box of the Base bump comment asks)

  7. Operators: The operators' guide: the data a new country sets up in the running system, from the administration app and Keycloak

Reference

  • The country kit (README.md, in the kit package only)

  • Country API changes

  • The backend contract for a country (docs/country-api.md, in the kit package only)