Use --idempotent and --yes flags when bootstrapping the dev db

This commit is contained in:
Alexis Vanier 2022-01-19 09:29:47 -05:00
parent 4ecd044788
commit 5a6b338766

View file

@ -112,4 +112,4 @@ rm-dev-docker: build ## Delete the docker containers including DB volumes.
.PHONY: init-dev-docker .PHONY: init-dev-docker
init-dev-docker: build-dev-docker ## Delete the docker containers including DB volumes. init-dev-docker: build-dev-docker ## Delete the docker containers including DB volumes.
cd dev; \ cd dev; \
docker-compose run --rm backend sh -c "make dist && yes | ./listmonk --install --config dev/config.toml" docker-compose run --rm backend sh -c "make dist && ./listmonk --install --idempotent --yes --config dev/config.toml"