Skip to main content
Use occtoo demo to fill an organization with realistic data so you can try Occtoo out, and to remove it again afterwards.

Profiles

A profile is a kind of customer. Each profile creates a set of sources: Run occtoo demo list to see the same list from the CLI.

Seed demo data

Creates the sources of a profile and fills them with generated entries. In a terminal, leave out the profile to pick one from a list and choose the number of entries per source. Otherwise, pass the entry counts as JSON. A source you leave out gets its default number of entries. Every source id starts with demo, and the entries are the same on every run. Seeding again overwrites the entries instead of adding new ones.

Remove demo data

Deletes the sources that demo seed created, with their entries. Leave out the profile to remove the sources of every profile.
  • Only sources that demo seed created are touched. A source with a demo id that holds something else is left alone.
  • cleanup removes the entries of a source, waits until they are gone, and then deletes the source.
  • The API refuses to delete a source that a card definition uses. Delete the card definition first.