Files

32 lines
1.1 KiB
Markdown

# STLP Shop Manager
STLP Shop Manager (farmd) — Go printer-farm manager for Starting Line
Productions: FDM farm + Whizoo reflow oven profiles + CR-10 laser/CNC.
Etsy batch printing with Dolibarr ERP/MRP integration. Cloudron-deployable,
OIDC via the platform provider.
Design: [docs/design.md](docs/design.md) · Status: MVP scaffold + full design draft (Redmine #855).
provider.
Design + proposal: Redmine [#855](https://projects.knownelement.com/issues/855)
(program: [#836](https://projects.knownelement.com/issues/836), RDStack).
## Status
MVP scaffold: HTTP server + /healthz + dashboard placeholder. Next: printer
adapters (Moonraker/Klipper, OctoPrint, Bambu), job queue + state machine,
Dolibarr connector, OIDC login (Cloudron platform provider).
## Build & run
go build ./cmd/farmd
FARMD_ADDR=:3000 FARMD_DB_PATH=/tmp/farmd.db ./farmd
Docker: `docker build -t farmd .` (serves :3000, data at /app/data).
## Layout
cmd/farmd/ entrypoint
internal/server/ HTTP surface (healthz, dashboard)
web/templates/ embedded dashboard templates