mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-02-03 09:55:59 -05:00
Add note about initializing empty DB
The first time moonfire's run it needs an (empty) db. The docs appear to miss that step. Made surrounding documentation slightly more explicit.
This commit is contained in:
parent
c5a4af15ff
commit
9370732ed9
@ -85,13 +85,13 @@ RequiresMountsFor=/media/nvr
|
|||||||
|
|
||||||
## Completing configuration through the UI
|
## Completing configuration through the UI
|
||||||
|
|
||||||
Once setup is complete, it is time to add sample file directory and camera
|
Once your system is set up, it's time to initialize an empty database,
|
||||||
configurations to the database.
|
and add the cameras and sample directories to moonfire. You can do this
|
||||||
|
by using the `moonfire-nvr` binary's text-based configuration tool.
|
||||||
You can configure the system's database through a text-based user interface:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo -u moonfire-nvr moonfire-nvr config 2>debug-log
|
$ sudo -u moonfire-nvr moonfire-nvr init # Initialize empty db
|
||||||
|
$ sudo -u moonfire-nvr moonfire-nvr config 2>debug-log # Configure cameras and storage
|
||||||
```
|
```
|
||||||
|
|
||||||
In the user interface,
|
In the user interface,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user