From 5af18e2473e7d86f6a728bc8b161b1c34ea47db7 Mon Sep 17 00:00:00 2001 From: mikestefanello Date: Sat, 16 Dec 2023 08:12:51 -0500 Subject: [PATCH] Added additional make commands. --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Makefile b/Makefile index e7b1ecb..02044ef 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,11 @@ db-test: cache: docker exec -it pagoda_cache redis-cli +# Clear the primary cache +.PHONY: cache-clear +cache-clear: + docker exec -it pagoda_cache redis-cli flushall + # Connect to the test cache .PHONY: cache-test cache-test: @@ -43,6 +48,16 @@ up: $(DCO_BIN) up -d sleep 3 +# Stop the Docker containers +.PHONY: stop +stop: + $(DCO_BIN) stop + +# Drop the Docker containers to wipe all data +.PHONY: down +down: + $(DCO_BIN) down + # Rebuild Docker containers to wipe all data .PHONY: reset reset: