From 3001484948a88fbadf8bdead53f4fc995c75a387 Mon Sep 17 00:00:00 2001 From: Felipe Cardoso Date: Sun, 16 Nov 2025 20:02:15 +0100 Subject: [PATCH] Update Makefile with `dev-full` target and frontend scaling option - Added new `dev-full` target to start all development services, including the frontend. - Modified `dev` target to exclude the frontend and provide instructions for running it locally. - Updated `.PHONY` to include the new `dev-full` target. --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3e3732a..f690971 100755 --- a/Makefile +++ b/Makefile @@ -1,10 +1,19 @@ -.PHONY: dev prod down clean clean-slate +.PHONY: dev dev-full prod down clean clean-slate VERSION ?= latest REGISTRY := gitea.pragmazest.com/cardosofelipe/app dev: + # Bring up all dev services except the frontend + docker compose -f docker-compose.dev.yml up --build -d --scale frontend=0 + @echo "" + @echo "Frontend is not started by 'make dev'." + @echo "To run the frontend locally, open a new terminal and run:" + @echo " cd frontend && npm run dev" + +dev-full: + # Bring up all dev services including the frontend (full stack) docker compose -f docker-compose.dev.yml up --build -d prod: