63 lines
1.3 KiB
JSON
63 lines
1.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Start Backend",
|
|
"type": "shell",
|
|
"command": "cd ${workspaceFolder}/backend && uvicorn app.main:app --reload --host 0.0.0.0 --port 8000",
|
|
"group": "build",
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "dedicated"
|
|
},
|
|
"problemMatcher": [],
|
|
"runOptions": {
|
|
"instanceLimit": 1
|
|
}
|
|
},
|
|
{
|
|
"label": "Start Frontend",
|
|
"type": "shell",
|
|
"command": "ng serve",
|
|
"portAction": "open",
|
|
"portPattern": {
|
|
"startBody": 4200
|
|
},
|
|
"group": "build",
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "dedicated"
|
|
},
|
|
"problemMatcher": ["$ng-cli-warn"],
|
|
"runOptions": {
|
|
"instanceLimit": 1
|
|
}
|
|
},
|
|
{
|
|
"label": "Docker Up",
|
|
"type": "shell",
|
|
"command": "docker compose up --build -d",
|
|
"group": "build",
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "dedicated"
|
|
},
|
|
"problemMatcher": [],
|
|
"runOptions": {
|
|
"instanceLimit": 1
|
|
}
|
|
},
|
|
{
|
|
"label": "Docker Down",
|
|
"type": "shell",
|
|
"command": "docker compose down",
|
|
"group": "build",
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "dedicated"
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|