6 lines
290 B
Bash
6 lines
290 B
Bash
#!/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
|