mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-03-21 17:34:19 -05:00
872 B
872 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.
- Unencrypted task files must follow this syntax:
<DATA_ID>.<FILENAME>- For example:39015.Festival.byaml(The name unused, but good practice to set it appropiately) - Encrypted task files must follow this syntax:
<DATA_ID>.enc.<FILENAME>- For example:39015.enc.Festival.byaml(The name unused, but good practice to set 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.