mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-25 22:55:55 -05:00
further refine UI install cmd (#150)
* add the command to create `/usr/local/lib/moonfire-nvr`, necessary the first time * have the files owned by root and use world-readable permissions, even if the building user has a restrictive umask set
This commit is contained in:
parent
7518b4c865
commit
826b81a95c
@ -237,7 +237,8 @@ You can build the UI via `npm` and find it in the `ui/build` directory:
|
|||||||
$ cd ui
|
$ cd ui
|
||||||
$ npm install
|
$ npm install
|
||||||
$ npm run build
|
$ npm run build
|
||||||
$ sudo rsync -Pav --delete ui/build/ /usr/local/lib/moonfire-nvr/ui
|
$ sudo mkdir /usr/local/lib/moonfire-nvr
|
||||||
|
$ sudo rsync --recursive --delete --chmod=D755,F644 ui/build/ /usr/local/lib/moonfire-nvr/ui
|
||||||
```
|
```
|
||||||
|
|
||||||
### Running interactively straight from the working copy
|
### Running interactively straight from the working copy
|
||||||
|
Loading…
Reference in New Issue
Block a user