Skip to content

Commit

Permalink
add backend clean Makefile target
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis authored Aug 9, 2024
1 parent f7b2b08 commit 1d6d2cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ login:
dev:
docker compose $(DOCKER_COMPOSE_ARGS) --file docker-compose.dev.yml up

clean-backend:
docker exec -it wis2-grep-management sh -c "wis2-grep clean"

reinit-backend:
docker exec -it wis2-grep-management sh -c "wis2-grep setup --force"

Expand All @@ -54,4 +57,4 @@ clean:
rm:
docker volume rm $(shell docker volume ls --filter name=wis2-grep -q)

.PHONY: build up dev login down restart reinit-backend force-build logs rm clean
.PHONY: build up dev login down restart clean-backend reinit-backend force-build logs rm clean

0 comments on commit 1d6d2cf

Please sign in to comment.