From 24574d84890c8c4d02ea2c0fbd561e281e6e60be Mon Sep 17 00:00:00 2001 From: Mathieu De Keyzer Date: Sat, 10 Feb 2024 12:02:54 +0100 Subject: [PATCH] feat: make clean --- demo/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/demo/Makefile b/demo/Makefile index f72faad7e..008756be0 100644 --- a/demo/Makefile +++ b/demo/Makefile @@ -39,6 +39,11 @@ start: ## start docker @docker compose up -d restart: ## restart docker and recreate @docker compose up -d --force-recreate +clean: + @$(MAKE) -s stop + @docker volume rm elasticms_demo_${ELK_VERSION}_data01 elasticms_demo_${ELK_VERSION}_data02 elasticms_demo_${ELK_VERSION}_data03 elasticms_demo_postgres elasticms_demo_redis elasticms_demo_s3 + @rm -Rf dist/ + @rm -Rf node_modules/ stop: ## stop docker @docker compose down status: ## status docker