2026-11-13 11:51:16 +01:00
|
|
|
{
|
|
|
|
|
"version": "2.0.0",
|
|
|
|
|
"tasks": [
|
|
|
|
|
{
|
|
|
|
|
"label": "Run app",
|
|
|
|
|
"detail": "Monte detectors, prépare .venv et le front au besoin, puis lance le serveur sur http://127.0.0.1:8770",
|
|
|
|
|
"type": "shell",
|
2026-11-13 13:10:33 +01:00
|
|
|
"command": "{ [ -e detectors/.git ] || { git submodule update --init && git -C detectors checkout -q -B main; }; } && { [ -d .venv ] || { python3 -m venv .venv && .venv/bin/pip install -q fastapi uvicorn markdown plotly matplotlib; }; } && (cd app/web && { [ -d node_modules ] || npm install; } && npm run build) && .venv/bin/python app/serveur/serveur.py",
|
2026-11-13 11:51:16 +01:00
|
|
|
"isBackground": true,
|
|
|
|
|
"problemMatcher": []
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|