2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-21 12:16:29 +00:00

Invoke docs (#8373)

* Add separate docs page for invoke

* More info on available tasks

* More info

* Strict mode is strict
This commit is contained in:
Oliver
2024-10-27 10:51:51 +11:00
committed by GitHub
parent 9fd882f95e
commit 21ab1a184d
8 changed files with 147 additions and 49 deletions

View File

@@ -40,6 +40,9 @@ invoke dev.setup-dev --tests
Read the [InvenTree setup documentation](../start/intro.md) for a complete installation reference guide.
!!! note "Required Packages"
Depending on your system, you may need to install additional software packages as required.
### Setup Devtools
Run the following command to set up all toolsets for development.
@@ -169,6 +172,7 @@ The various github actions can be found in the `./github/workflows` directory
### Run tests locally
To run test locally, use:
```
invoke dev.test
```

View File

@@ -9,7 +9,7 @@ The new UI requires a separate frontend server to run to serve data for the new
### Install
The React frontend requires its own packages that aren't installed via the usual invoke tasks.
The React frontend requires its own packages that aren't installed via the usual [invoke](../start/invoke.md) tasks.
#### Docker
@@ -18,7 +18,9 @@ Run the following command:
This will install the required packages for running the React frontend on your InvenTree dev server.
#### Devcontainer
!!! warning "This guide assumes you already have a running devcontainer"
!!! info "All these steps are performed within Visual Studio Code"
Open a new terminal from the top menu by clicking `Terminal > New Terminal`