Enhance Makefile
This commit is contained in:
parent
c2b56cc85d
commit
628e4d3d55
1 changed files with 8 additions and 2 deletions
10
Makefile
10
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
|
||||
|
|
Loading…
Reference in a new issue