mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-03-26 11:55:30 -05:00
695 B
695 B
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
- Only files referenced by tasksheets are processed
- You can safely run seeding as many times as seeded, it ignores unchanged data.
- 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) - Tasksheets must follow this syntax:
1.<BOSS_APP_ID>.<TASKNAME>.taskheet.xml - Seeding only adds and updates data. Tasksheets or files that are removed are not deleted.