From 6bd4efe8843d277738c0cf249cbf731e76cba558 Mon Sep 17 00:00:00 2001 From: Nikolas Rauscher Date: Wed, 22 May 2024 09:01:39 +0200 Subject: [PATCH] build-dev: Update Makefile to start both backend and frontend with Docker and npm Signed-off-by: Nikolas Rauscher --- Project/backend/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project/backend/Makefile b/Project/backend/Makefile index 620a6a2..4ffe736 100644 --- a/Project/backend/Makefile +++ b/Project/backend/Makefile @@ -49,7 +49,7 @@ migrate: build-dev: DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 $(DOCKER_COMPOSE) -f docker-compose.yml up --build -d - + @cd ../frontend && sudo npm install && sudo npm run dev stop-dev: @$(DOCKER_COMPOSE) -f docker-compose.yml down