mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add worker task to VS Code (#5605)
* add worker task to vscode * add documentation for devcontainer backgorund workers * fix misphrased sentence ("want need" -> "need") --------- Co-authored-by: Oliver Lippert <oliver@lipperts-web.de>
This commit is contained in:
parent
3cd7ee9cd2
commit
7fa0c6d280
6
.vscode/tasks.json
vendored
6
.vscode/tasks.json
vendored
@ -6,6 +6,12 @@
|
||||
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "worker",
|
||||
"type": "shell",
|
||||
"command": "inv worker",
|
||||
"problemMatcher": [],
|
||||
},
|
||||
{
|
||||
"label": "clean-settings",
|
||||
"type": "shell",
|
||||
|
@ -45,6 +45,10 @@ If you need some demo test-data, run the `setup-test` task. This will import an
|
||||
|
||||
If you only need a superuser, run the `superuser` task. It should prompt you for credentials.
|
||||
|
||||
#### Run background workers
|
||||
|
||||
If you need to process your queue with background workers, run the `worker` task.
|
||||
|
||||
### Running InvenTree
|
||||
|
||||
You can either only run InvenTree or use the integrated debugger for debugging. Goto the `Run and debug` side panel make sure `InvenTree Server` is selected. Click on the play button on the left.
|
||||
|
Loading…
Reference in New Issue
Block a user