Added additional make commands.
This commit is contained in:
parent
81c65fcc30
commit
5af18e2473
15
Makefile
15
Makefile
@ -17,6 +17,11 @@ db-test:
|
|||||||
cache:
|
cache:
|
||||||
docker exec -it pagoda_cache redis-cli
|
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
|
# Connect to the test cache
|
||||||
.PHONY: cache-test
|
.PHONY: cache-test
|
||||||
cache-test:
|
cache-test:
|
||||||
@ -43,6 +48,16 @@ up:
|
|||||||
$(DCO_BIN) up -d
|
$(DCO_BIN) up -d
|
||||||
sleep 3
|
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
|
# Rebuild Docker containers to wipe all data
|
||||||
.PHONY: reset
|
.PHONY: reset
|
||||||
reset:
|
reset:
|
||||||
|
Loading…
Reference in New Issue
Block a user