From 628e4d3d559aead80340c374b5de48b880318954 Mon Sep 17 00:00:00 2001 From: Blallo Date: Wed, 15 Sep 2021 21:53:30 +0200 Subject: [PATCH] Enhance Makefile --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9a51878..bed38f2 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ docker-build-techrec: techrec docker-stop: - $(DOCKERC) down + $(DOCKERC) down -v docker-run: $(DOCKERC) run --rm --service-ports techrec @@ -43,6 +43,12 @@ docker-shell-liquidsoap: $(eval CONTAINER = $(shell docker ps|grep liquidsoap|awk '{print $$12}')) $(DOCKER) exec -ti $(CONTAINER) bash +docker-logs-storage: + $(DOCKERC) logs -f storage + +docker-logs-liquidsoap: + $(DOCKERC) logs -f liquidsoap + local-install: $(PY) -m venv $(VENV) ./$(VENV)/bin/pip install -e . @@ -51,4 +57,4 @@ local-serve: env TECHREC_CONFIG=$(CONFIG) ./$(VENV)/bin/techrec -vv serve -.PHONY: docker-build docker-build-liquidsoap docker-build-techrec docker-stop docker-run docker-shell-techrec docker-shell-storage docker-shell-liquidsoap local-install local-serve +.PHONY: docker-build docker-build-liquidsoap docker-build-techrec docker-stop docker-run docker-shell-techrec docker-shell-storage docker-shell-liquidsoap docker-logs-storage docker-logs-liquidsoap local-install local-serve