Files
pdf_oralia_vibe/Makefile
Bertrand Benjamin 94b885aedb
All checks were successful
Build and Publish Docker Image / Build App Image (push) Successful in 22s
Build and Publish Docker Image / Build Summary (push) Successful in 3s
feat(core): add install
2026-07-25 19:53:17 +02:00

28 lines
666 B
Makefile

.PHONY: install dev_back dev_front dev docker docker-build
# Installe les dependances backend + frontend (a refaire par worktree)
install:
uv sync
cd frontend && npm install
# Backend avec auto-reload uvicorn
dev_back:
uv run plesna-gerance serve --reload
# Frontend avec hot-reload Vite
dev_front:
cd frontend && npm run dev
# Lance les deux en parallèle
dev:
$(MAKE) dev_back & $(MAKE) dev_front & wait
# Tire l'image publiee (registre Gitea) et lance via podman-compose
docker:
podman-compose pull
podman-compose up -d
# Construit l'image en local (test avant publication)
docker-build:
podman build -f backend.Dockerfile -t plesna-gerance:local .