Add make fetch-nginx: unprivileged nginx binary for the local full-stack test

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
denis
2026-10-16 22:02:29 +02:00
parent e5489d15cd
commit 562f914b3c
3 changed files with 32 additions and 5 deletions
+4 -1
View File
@@ -5,7 +5,7 @@ VENV := .venv
VENV_PY := $(VENV)/bin/python
PORT ?= 8000
.PHONY: help install vendor-pyodide dev validate-levels build dev-sync dev-nginx docs docs-serve deploy check-deploy test-deploy test test-js test-python test-backend test-e2e typecheck icons voice check-voice ci ci-e2e clean
.PHONY: help install vendor-pyodide dev validate-levels build dev-sync fetch-nginx dev-nginx docs docs-serve deploy check-deploy test-deploy test test-js test-python test-backend test-e2e typecheck icons voice check-voice ci ci-e2e clean
help: ## Affiche cette aide
@grep -E '^[a-z-]+:.*##' $(MAKEFILE_LIST) | awk -F':.*## ' '{printf " %-16s %s\n", $$1, $$2}'
@@ -51,6 +51,9 @@ docs: $(DOCS_VENV)/.installed ## Génère la documentation bilingue dans site/ (
docs-serve: $(DOCS_VENV)/.installed ## Documentation en direct sur http://127.0.0.1:8003/
$(DOCS_VENV)/bin/mkdocs serve --dev-addr 127.0.0.1:8003
fetch-nginx: ## Récupère le binaire nginx dans .local/nginx (Debian/Ubuntu, sans droits root) pour make dev-nginx
./scripts/fetch_nginx.sh
dev-nginx: $(VENV)/.installed build ## Pile locale réelle : nginx + Django (éditeur protégé, API) sur http://127.0.0.1:8080/
$(VENV_PY) scripts/local_stack.py