Merge pull request #91 from jackchallen/master

Add note about initializing empty DB
This commit is contained in:
Scott Lamb 2020-07-18 07:35:30 -07:00 committed by GitHub
commit 5515db0513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,