added tasks for non-docker development

This commit is contained in:
hay-kot 2021-02-07 16:37:59 -09:00
commit e5fc004d13

45
.vscode/tasks.json vendored
View file

@ -13,15 +13,42 @@
"group": "test" "group": "test"
}, },
{ {
"label": "Production: Build and Start Docker Compose", "label": "Production: Build and Start Docker Compose",
"command": "./dev/scripts/docker-compose.sh", "command": "./dev/scripts/docker-compose.sh",
"type": "shell", "type": "shell",
"args": [], "args": [],
"problemMatcher": ["$tsc"], "problemMatcher": ["$tsc"],
"presentation": { "presentation": {
"reveal": "always" "reveal": "always"
}, },
"group": "test" "group": "test"
},
{
"label": "Dev: Start local Backend",
"command": "../${config:python.pythonPath}",
"args": ["app.py"],
"options": {
"cwd": "${workspaceFolder}/mealie/"
},
"type": "shell",
"problemMatcher": [],
"presentation": {
"reveal": "always",
"group": "groupA"
} }
},
{
"label": "Dev: Start local Frontend",
"command": "npm run serve",
"type": "shell",
"options": {
"cwd": "${workspaceFolder}/frontend/"
},
"problemMatcher": [],
"presentation": {
"reveal": "always",
"group": "groupA"
}
}
] ]
} }