diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 8eb8c3ca13..35a9d40f84 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,6 +6,12 @@ "version": "2.0.0", "tasks": [ + { + "label": "worker", + "type": "shell", + "command": "inv worker", + "problemMatcher": [], + }, { "label": "clean-settings", "type": "shell", diff --git a/docs/docs/develop/devcontainer.md b/docs/docs/develop/devcontainer.md index a2242dfaf4..cbeda3583c 100644 --- a/docs/docs/develop/devcontainer.md +++ b/docs/docs/develop/devcontainer.md @@ -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.