mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-05-04 16:56:38 -04:00
mention ui development proxy too
This commit is contained in:
parent
d1c033b46d
commit
6f472256ab
@ -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)
|
||||||
|
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user