diff --git a/documentation/Build.md b/documentation/Build.md index b8a1605f..1f1c10e6 100644 --- a/documentation/Build.md +++ b/documentation/Build.md @@ -29,8 +29,9 @@ In order to build MindWork AI Studio from source instead of using the pre-built ## Run the app locally with all your changes Do you want to test your changes before creating a PR? Follow these steps: 1. Ensure you have met all the prerequisites. -2. Open a terminal (in this case, it doesn't have to be NuShell). -3. Navigate to the `runtime` directory within the repository, e.g. `cd repos/mindwork-ai-studio/runtime`. -4. Run `cargo run`. +2. At least once, you have to run the `nu build.nu publish` command (see above, "Build instructions"). This is necessary because the Tauri framework checks whether the .NET app as so-called "sidecar" is available. Although the sidecar is only necessary for the final release and shipping, Tauri requires it to be present during development. +3. Open a terminal (in this case, it doesn't have to be NuShell). +4. Navigate to the `runtime` directory within the repository, e.g. `cd repos/mindwork-ai-studio/runtime`. +5. Run `cargo run`. Cargo will compile the Rust code and start the runtime. The runtime will then start the .NET compiler. When the .NET source code is compiled, the app will start. You can now test your changes. \ No newline at end of file