Files
shopdb-flask/docs/START-HERE.md
cproudlock 62c5454f00 docs: a front door, and one page on how the pieces relate
The wiki had no entry point worth the name. Its Home page was hardcoded inside
the generator, had drifted into recommending INSTALL-WINDOWS-IIS - the manual
procedure these same docs tell you not to follow for a new site, because it
produces a server the installer then refuses to upgrade - and the page carrying
that warning, llms.txt, was never published at all, because the generator copied
only .md files. The adoption guide had zero inbound links.

START-HERE routes by what a reader came to do: stand up a site, deploy the
shop-floor tools, write a plugin, integrate with the API, understand a decision,
or fix something. It is the shortest correct path per role, not an index - the
sidebar is already the index.

FLEET-ARCHITECTURE is the page nothing else could assume. The server, GE-Enforce,
the asset reporter, the backup collectors and EventSaver were each documented
alone, each assuming a reader who already knew the other four. It draws the
shape, states the rule that explains most of the behaviour - nothing on the
server reaches out to a PC, the fleet asks - and ends with the table that says
which of the five programs to open for a given symptom, since knowing that is
most of the diagnosis.

wikigen renders START-HERE as the landing page rather than a list maintained in
a second place, and publishes llms.txt as LLM-GUIDE.
2026-08-14 16:12:04 -04:00

2.8 KiB

Start here

ShopDB is a per-site asset platform: one instance per plant, plugins for what each site tracks. These pages document the server, the plugin contract, and the tools that run on shop-floor PCs.

Find yourself below. Each row is the shortest correct path, not everything that exists.

I am standing up ShopDB at a new site

  1. INSTALL-WINDOWS - one offline installer, start to finish.
  2. OPERATE-WINDOWS - restart, logs, backups, upgrades.
  3. CSV-IMPORT if the site's data is in spreadsheets, or IMPORT-API if there is a source database to script against.

Do not follow INSTALL-WINDOWS-IIS or DEPLOY-WINDOWS-IIS for a new site. Those are the manual procedure, kept for hand-built servers that predate the installer, and following them produces a server the installer then refuses to upgrade.

I am deploying the shop-floor tools

Read FLEET-ARCHITECTURE first - it is one page and it is what makes the rest make sense.

Then ADOPTING-AT-ANOTHER-SITE, which has worked examples for Intune, GE-Enforce and manual installation, and says where each artifact comes from.

I am writing a plugin

  1. PLUGIN-QUICKSTART - scaffold and first run.
  2. PLUGIN-HOOKS - the contract. Authoritative.
  3. PLUGIN-LAB-PRINTEDPARTS - a real plugin built end to end, to type along with.
  4. PLUGIN-EXTERNAL-REPO if it lives in its own repository, and CONTRACT-STABILITY before you choose a version pin.

I am integrating with the API

  1. LLM-GUIDE (docs/llms.txt in the repo, also served at /api/docs/llms.txt) - auth, the response envelope, common recipes. Short, and the envelope section is the part people get wrong.
  2. GET /api/docs on any running instance - the full spec, browsable.
  3. API-REFERENCE for prose, COLLECTOR-INTEGRATION if you are feeding data in from a PC.

I am trying to understand why something is built this way

The ADRs. They are the decision record, they say what was rejected and why, and they are the fastest way to avoid relitigating a settled question. PROJECT-MAP lists them all with their status, along with the current versions and every migration head - it is generated, so it is never stale.

Something is broken