Enhance Makefile

This commit is contained in:
Blallo 2021-09-15 21:53:30 +02:00
parent c2b56cc85d
commit 628e4d3d55
No known key found for this signature in database
GPG key ID: 0CBE577C9B72DC3F

View file

@ -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