Dummy Data Command
Story
"As a developer, I want useful scenarios and data preloaded so that I can test and develop immediately"
Full description
Currently, when bringing up Listaflow locally, a developer must create their user, activate it, create teams and checklists and recurrences, and other data. In order to make the system more testable, create a django admin command that loads up dummy data, but is smart enough not to actually create it more than once (lest it make a mess). It should create:
- A superuser
- A team of three users, with different tags on each user
- Another team of three users
- A checklist definition that has all currently supported task types
- A recurring checklist and accompanying definition that runs once every 5 minutes (but which is disabled) which is aligned with one of the teams.
All users should have the same generic password and have predictable usernames. The superuser could be 'root@localhost' with a password of 'listaflow' for instance.
Completion criteria
- The django command should be implemented
- The django command shouldn't crash or make garbage if run twice
- The command should be run during the relevant provisioning make commands
Documentation updates & improvements criteria
- Add the credentials and a mention of the test data into the documentation so that team members know how to log in with this default superuser.