chore: Add backend installation tasks to VSCode configuration (#4335)
* Add separate task for installing backend in VSCode tasks configuration * Add preLaunchTask to launch.json for backend installation
This commit is contained in:
parent
099a057d4f
commit
f2af059c65
2 changed files with 8 additions and 0 deletions
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
|
|
@ -6,6 +6,8 @@
|
||||||
"type": "debugpy",
|
"type": "debugpy",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"module": "uvicorn",
|
"module": "uvicorn",
|
||||||
|
"preLaunchTask": "Install Backend",
|
||||||
|
|
||||||
"args": [
|
"args": [
|
||||||
"--factory",
|
"--factory",
|
||||||
"langflow.main:create_app",
|
"langflow.main:create_app",
|
||||||
|
|
|
||||||
6
.vscode/tasks.json
vendored
6
.vscode/tasks.json
vendored
|
|
@ -43,6 +43,12 @@
|
||||||
"label": "Install",
|
"label": "Install",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "make install_backend && make install_frontend"
|
"command": "make install_backend && make install_frontend"
|
||||||
|
},
|
||||||
|
// install backend
|
||||||
|
{
|
||||||
|
"label": "Install Backend",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "make install_backend"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue