mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-12-07 08:12:32 -05:00
several documentation improvements
* prefix docker/nvr commands with sudo (fixes #142). I was just going to link to the docker documentation on setting up non-root access, but that's kind of a personal preference. I included a `<details>` about it instead and made all the commands work with sudo. * take better advantage of github markdown's code block syntax highlighting. Use "console" for shell session stuff, put the "nvr" wrapper script in its own block with "bash". * add some comments to nvr wrapper script where people need to make changes and/or will be confused. * add a `<details>` that talks about shutting down and restarting the session around `nvr config` (see #151). Still not user-friendly but at least it's better documented now.
This commit is contained in:
@@ -190,10 +190,10 @@ effectively allowing them to lie about the client's IP and protocol.
|
||||
To make this take effect, you'll need to stop the running Docker container,
|
||||
delete it, and create/run a new one:
|
||||
|
||||
```
|
||||
$ nvr stop
|
||||
$ nvr rm
|
||||
$ nvr run
|
||||
```console
|
||||
$ sudo nvr stop
|
||||
$ sudo nvr rm
|
||||
$ sudo nvr run
|
||||
```
|
||||
|
||||
## 7. Configure the webserver
|
||||
|
||||
Reference in New Issue
Block a user