Skip to content

Commit

Permalink
chore: Add backend installation tasks to VSCode configuration (langfl…
Browse files Browse the repository at this point in the history
…ow-ai#4335)

* Add separate task for installing backend in VSCode tasks configuration

* Add preLaunchTask to launch.json for backend installation
  • Loading branch information
ogabrielluiz authored Oct 31, 2024
1 parent 099a057 commit f2af059
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"preLaunchTask": "Install Backend",

"args": [
"--factory",
"langflow.main:create_app",
Expand Down
6 changes: 6 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@
"label": "Install",
"type": "shell",
"command": "make install_backend && make install_frontend"
},
// install backend
{
"label": "Install Backend",
"type": "shell",
"command": "make install_backend"
}
]
}

0 comments on commit f2af059

Please sign in to comment.