update vs-code.md, fix docs/help/index.md

This commit is contained in:
mauwii 2023-02-19 17:50:22 +01:00
parent f494077003
commit 51956ba356
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB
2 changed files with 14 additions and 5 deletions

View File

@ -18,7 +18,7 @@ environment and update the deps (pip, setuptools and wheel).
Into this venv we will then install the pyproject.toml in editable mode with Into this venv we will then install the pyproject.toml in editable mode with
dev, docs and test dependencies. dev, docs and test dependencies.
```json ```json title=".vscode/tasks.json"
{ {
// See https://go.microsoft.com/fwlink/?LinkId=733558 // See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format // for the documentation about the tasks.json format
@ -55,9 +55,16 @@ dev, docs and test dependencies.
{ {
"label": "build InvokeAI", "label": "build InvokeAI",
"detail": "Build pyproject.toml with extras dev, docs and test", "detail": "Build pyproject.toml with extras dev, docs and test",
"command": "${workspaceFolder}/.venv/bin/python", "command": "${workspaceFolder}/.venv/bin/python3",
"args": ["-m", "pip", "install", "-e", ".[dev,docs,test]"], "args": [
"dependsOn": "Create venv", "-m",
"pip",
"install",
"--use-pep517",
"--editable",
".[dev,docs,test]"
],
"dependsOn": "Create virtual environment",
"dependsOrder": "sequence", "dependsOrder": "sequence",
"group": { "group": {
"kind": "build", "kind": "build",
@ -76,6 +83,8 @@ dev, docs and test dependencies.
} }
``` ```
The fastest way to build InvokeAI now is ++cmd+shift+b++
## launch.json ## launch.json
This file is used to define debugger configurations, so that you can one-click This file is used to define debugger configurations, so that you can one-click

View File

@ -9,4 +9,4 @@ Here you will find help to topics like
- configuration recommendation for IDEs - configuration recommendation for IDEs
If you have an Idea about what's missing and aren't scared from contributing, If you have an Idea about what's missing and aren't scared from contributing,
just take a look at [DOCS](./contribute/030_DOCS.md) to find out how to do so. just take a look at [DOCS](./contributing/030_DOCS.md) to find out how to do so.