Note optional sudo command in bare metal docs

This commit is contained in:
shamoon 2023-01-18 06:28:38 -08:00 committed by Michael Shamoon
parent 7048af276a
commit 151573a26e

View File

@ -152,9 +152,11 @@ following:
```shell-session ```shell-session
$ cd src $ cd src
$ python3 manage.py migrate $ python3 manage.py migrate # (1)
``` ```
1. Including `sudo -Hu <paperless_user>` may be required
This might not actually do anything. Not every new paperless version This might not actually do anything. Not every new paperless version
comes with new database migrations. comes with new database migrations.
@ -210,9 +212,11 @@ Bare metal:
```shell-session ```shell-session
$ cd /path/to/paperless/src $ cd /path/to/paperless/src
$ python3 manage.py <command> <arguments> $ python3 manage.py <command> <arguments> # (1)
``` ```
1. Including `sudo -Hu <paperless_user>` may be required
All commands have built-in help, which can be accessed by executing them All commands have built-in help, which can be accessed by executing them
with the argument `--help`. with the argument `--help`.