In pass-docker, the demo data loader will run on every docker compose up. Make the loader smarter and have it only run if the demo data does not already exist.
Why?
During development sometimes you will end up bringing the docker up multiple times and this problem can slow you down.
How?
Probably can just extend the command in the docker compose to check for the existence of users with a curl.
Acceptance Criteria
Multiple docker compose up commands no longer result in duplicate date.
What?
In pass-docker, the demo data loader will run on every
docker compose up
. Make the loader smarter and have it only run if the demo data does not already exist.Why?
During development sometimes you will end up bringing the docker up multiple times and this problem can slow you down.
How?
Probably can just extend the command in the docker compose to check for the existence of users with a curl.
Acceptance Criteria
Multiple
docker compose up
commands no longer result in duplicate date.Related Issues