14 lines
583 B
JSON
14 lines
583 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Run app",
|
|
"detail": "Prepares .venv and the front end if needed, then launches the server on http://127.0.0.1:8770 (links data, labeling, detectors, tools, agents and optimizer: 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/server/server.py",
|
|
"isBackground": true,
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|