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:
Jack Challen 2020-07-18 09:26:58 +01:00
parent c5a4af15ff
commit 9370732ed9

View File

@ -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,