14 lines
551 B
JSON
14 lines
551 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Run app",
|
|
"detail": "Prépare .venv et le front au besoin, puis lance le serveur sur http://127.0.0.1:8770 (liens data, labeling et detectors : README.md)",
|
|
"type": "shell",
|
|
"command": "{ [ -d .venv ] || { python3 -m venv .venv && .venv/bin/pip install -q -r app/requirements.txt; }; } && (cd app/web && { [ -d node_modules ] || npm install; } && npm run build) && .venv/bin/python app/serveur/serveur.py",
|
|
"isBackground": true,
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|