Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
documentation and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaswinkler committed Feb 12, 2021
1 parent d6c3471 commit 6ac9018
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
18 changes: 13 additions & 5 deletions docs/administration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,26 +206,34 @@ Execute the following management command to migrate your database:

Some migrations cannot be undone. The command will issue errors if that happens.

.. _utilities-management-commands:

Management utilities
####################

Paperless comes with some management commands that perform various maintenance
tasks on your paperless instance. You can invoke these commands either by
tasks on your paperless instance. You can invoke these commands in the following way:

With docker-compose, while paperless is running:

.. code:: shell-session
$ cd /path/to/paperless
$ docker-compose exec -u paperless webserver python3 manage.py <command> <arguments>
$ docker-compose exec webserver <command> <arguments>
or
With docker, while paperless is running:

.. code:: shell-session
$ docker exec -it <container-name> <command> <arguments>
Bare metal:

.. code:: shell-session
$ cd /path/to/paperless/src
$ python3 manage.py <command> <arguments>
depending on whether you use docker or not.

All commands have built-in help, which can be accessed by executing them with
the argument ``--help``.

Expand Down
3 changes: 3 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ This release contains new database migrations.

* Added ASN as a placeholder field to the filename format.

* The docker image now comes with built-in shortcuts for most management commands. These are now the recommended way to execute management commands, since these
also ensure that they're always executed as the paperless user and you're less likely to run into permission issues. See :ref:`utilities-management-commands`.

paperless-ng 1.1.0
##################

Expand Down

0 comments on commit 6ac9018

Please sign in to comment.