14 lines
570 B
JSON
14 lines
570 B
JSON
{
|
|
"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",
|
|
"command": "git submodule update --init && { [ -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",
|
|
"isBackground": true,
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|