mention ui development proxy too

This commit is contained in:
Scott Lamb 2024-01-31 17:12:44 -08:00
parent d1c033b46d
commit 6f472256ab
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# Working on UI development <!-- omit in toc --> # Developing the UI <!-- omit in toc -->
* [Getting started](#getting-started) * [Getting started](#getting-started)
* [Overriding defaults](#overriding-defaults) * [Overriding defaults](#overriding-defaults)

View File

@ -104,7 +104,10 @@ keys are understood:
`uiDir = { bundled = true }` if a UI was built into the binary, or `uiDir = { bundled = true }` if a UI was built into the binary, or
`/usr/local/lib/moonfire-nvr/ui` otherwise. Release builds have UIs `/usr/local/lib/moonfire-nvr/ui` otherwise. Release builds have UIs
built in; you can replicate this yourself via `--features=bundled` or `--features=bundled-ui` built in; you can replicate this yourself via `--features=bundled` or `--features=bundled-ui`
when [building the server](../guide/build.md). when [building the server](../guide/build.md). **Note:** it's unusual
to override this value. For UI development, a much more pleasant
workflow is to use a hot-reloading proxy server as described in
[this guide](../guide/developing-ui.md).
* `workerThreads`: number of [tokio](https://tokio.rs/) worker threads to * `workerThreads`: number of [tokio](https://tokio.rs/) worker threads to
use. Defaults to the number of CPUs on the system. This normally does not use. Defaults to the number of CPUs on the system. This normally does not
need to be changed, but reducing it may slightly lower idle CPU usage. need to be changed, but reducing it may slightly lower idle CPU usage.