run_server.sh: build the front and start the web app server

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-05 17:48:39 +01:00
1 parent 8c0902c4ae
commit 480032410c
3 files changed
+9

No files matched your search

Executable
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# La web app (app/) : construit le front, puis lance le serveur sur http://127.0.0.1:8770 (AIMSIGHT_PORT pour changer).
set -e
cd "$(dirname "$0")"
(cd app/web && { [ -d node_modules ] || npm install; } && npm run build)
exec API/.venv/bin/python app/serveur/serveur.py