fix: makefile now works

This commit is contained in:
Pierre Tellier 2025-02-06 09:01:54 +01:00
parent 105362e33c
commit 4256feed23

View File

@ -1,13 +1,13 @@
help: help:
@echo "make [clean dev-front prod dev-back]" @echo "make [clean dev-front prod dev-back stop]"
stop:
docker compose down
clean: clean:
@docker compose down @rm -f .env
@rm .env @rm -f front/MyINPulse-front/.env
@rm front/MyINPulse-front/.env @rm -f docker-compose.yaml
@rm docker-compose.yaml
# Install npm packages # Install npm packages
front/MyINPulse-front/.installed: front/MyINPulse-front/.installed:
@ -37,4 +37,5 @@ dev-back:
@cp config/backdev.main.env .env @cp config/backdev.main.env .env
@cp config/backdev.docker-compose.yaml docker-compose.yaml @cp config/backdev.docker-compose.yaml docker-compose.yaml
@docker compose up -d @docker compose up -d
@echo "cd MyINPulse-back"
@echo "./gradlew bootRun" @echo "./gradlew bootRun"