BOSS/seeding
2025-09-14 15:29:43 +02:00
..
files chore: copy existing encrypted data into the new folder structure (still encrypted) 2025-09-14 15:29:43 +02:00
tasksheets chore: copy old tasksheets to new seeding structure 2025-09-14 15:22:14 +02:00
README.md feat: add fully featured seeding command 2025-09-14 15:05:45 +02:00

Seeding

The CLI of the BOSS server can seed data from this folder. This folder contains some default tasksheets that are expected from the system.

npm run cli -- import seed

Notes about seeding

  1. Only files referenced by tasksheets are processed
  2. You can safely run seeding as many times as seeded, it ignores unchanged data.
  3. Files must be prefixed with their Data ID - followed by a .. For example: 39015.Festival.byaml (Everything after the first dot is not enforced, name it appropiately)
  4. Tasksheets must follow this syntax: 1.<BOSS_APP_ID>.<TASKNAME>.taskheet.xml
  5. Seeding only adds and updates data. Tasksheets or files that are removed are not deleted.