mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
Update docs for new encryption toggle
This commit is contained in:
parent
988adf963a
commit
a0240cace3
@ -17,7 +17,8 @@ The primary method of getting documents into your database is by putting them in
|
|||||||
the consumption directory. The ``document_consumer`` script runs in an infinite
|
the consumption directory. The ``document_consumer`` script runs in an infinite
|
||||||
loop looking for new additions to this directory and when it finds them, it goes
|
loop looking for new additions to this directory and when it finds them, it goes
|
||||||
about the process of parsing them with the OCR, indexing what it finds, and
|
about the process of parsing them with the OCR, indexing what it finds, and
|
||||||
encrypting the PDF, storing it in the media directory.
|
encrypting the PDF (if ``PAPERLESS_PASSPHRASE`` is set), storing it in the
|
||||||
|
media directory.
|
||||||
|
|
||||||
Getting stuff into this directory is up to you. If you're running Paperless
|
Getting stuff into this directory is up to you. If you're running Paperless
|
||||||
on your local computer, you might just want to drag and drop files there, but if
|
on your local computer, you might just want to drag and drop files there, but if
|
||||||
|
@ -16,7 +16,7 @@ Backing Up
|
|||||||
----------
|
----------
|
||||||
|
|
||||||
So you're bored of this whole project, or you want to make a remote backup of
|
So you're bored of this whole project, or you want to make a remote backup of
|
||||||
the unencrypted files for whatever reason. This is easy to do, simply use the
|
your files for whatever reason. This is easy to do, simply use the
|
||||||
:ref:`exporter <utilities-exporter>` to dump your documents and database out
|
:ref:`exporter <utilities-exporter>` to dump your documents and database out
|
||||||
into an arbitrary directory.
|
into an arbitrary directory.
|
||||||
|
|
||||||
|
@ -63,17 +63,18 @@ Standard (Bare Metal)
|
|||||||
|
|
||||||
1. Install the requirements as per the :ref:`requirements <requirements>` page.
|
1. Install the requirements as per the :ref:`requirements <requirements>` page.
|
||||||
2. Within the extract of master.zip go to the ``src`` directory.
|
2. Within the extract of master.zip go to the ``src`` directory.
|
||||||
3. Copy ``../paperless.conf.example`` to ``/etc/paperless.conf`` also the virtual
|
3. Copy ``../paperless.conf.example`` to ``/etc/paperless.conf`` and open it in
|
||||||
envrionment look there for it and open it in your favourite editor.
|
your favourite editor. Because this file contains passwords it should only
|
||||||
Because this file contains passwords it should only be readable by user root
|
be readable by user root and paperless! Set the values for:
|
||||||
and paperless ! Set the values for:
|
|
||||||
|
|
||||||
* ``PAPERLESS_CONSUMPTION_DIR``: this is where your documents will be
|
* ``PAPERLESS_CONSUMPTION_DIR``: this is where your documents will be
|
||||||
dumped to be consumed by Paperless.
|
dumped to be consumed by Paperless.
|
||||||
* ``PAPERLESS_PASSPHRASE``: this is the passphrase Paperless uses to
|
|
||||||
encrypt/decrypt the original document.
|
|
||||||
* ``PAPERLESS_OCR_THREADS``: this is the number of threads the OCR process
|
* ``PAPERLESS_OCR_THREADS``: this is the number of threads the OCR process
|
||||||
will spawn to process document pages in parallel.
|
will spawn to process document pages in parallel.
|
||||||
|
* ``PAPERLESS_PASSPHRASE``: this is only required if you want to use GPG to
|
||||||
|
encrypt your document files. This is the passphrase Paperless uses to
|
||||||
|
encrypt/decrypt the original documents. Don't worry about defining this
|
||||||
|
if you don't want to use encryption (the default).
|
||||||
|
|
||||||
4. Initialise the SQLite database with ``./manage.py migrate``.
|
4. Initialise the SQLite database with ``./manage.py migrate``.
|
||||||
5. Create a user for your Paperless instance with
|
5. Create a user for your Paperless instance with
|
||||||
@ -139,7 +140,8 @@ Docker Method
|
|||||||
|
|
||||||
``PAPERLESS_PASSPHRASE``
|
``PAPERLESS_PASSPHRASE``
|
||||||
This is the passphrase Paperless uses to encrypt/decrypt the original
|
This is the passphrase Paperless uses to encrypt/decrypt the original
|
||||||
document.
|
document. If you aren't planning on using GPG encryption, you can just
|
||||||
|
leave this undefined.
|
||||||
|
|
||||||
``PAPERLESS_OCR_THREADS``
|
``PAPERLESS_OCR_THREADS``
|
||||||
This is the number of threads the OCR process will spawn to process
|
This is the number of threads the OCR process will spawn to process
|
||||||
@ -265,10 +267,11 @@ Vagrant Method
|
|||||||
3. Run ``vagrant ssh`` and once inside your new vagrant box, edit
|
3. Run ``vagrant ssh`` and once inside your new vagrant box, edit
|
||||||
``/etc/paperless.conf`` and set the values for:
|
``/etc/paperless.conf`` and set the values for:
|
||||||
|
|
||||||
* ``PAPERLESS_CONSUMPTION_DIR``: this is where your documents will be
|
* ``PAPERLESS_CONSUMPTION_DIR``: This is where your documents will be
|
||||||
dumped to be consumed by Paperless.
|
dumped to be consumed by Paperless.
|
||||||
* ``PAPERLESS_PASSPHRASE``: this is the passphrase Paperless uses to
|
* ``PAPERLESS_PASSPHRASE``: This is the passphrase Paperless uses to
|
||||||
encrypt/decrypt the original document.
|
encrypt/decrypt the original document. It's only required if you want
|
||||||
|
your original files to be encrypted, otherwise, just leave it unset.
|
||||||
* ``PAPERLESS_EMAIL_SECRET``: this is the "magic word" used when consuming
|
* ``PAPERLESS_EMAIL_SECRET``: this is the "magic word" used when consuming
|
||||||
documents from mail or via the API. If you don't use either, leaving it
|
documents from mail or via the API. If you don't use either, leaving it
|
||||||
blank is just fine.
|
blank is just fine.
|
||||||
|
@ -59,8 +59,8 @@ for documents to parse and index. The process is pretty straightforward:
|
|||||||
4. Attempt to automatically assign document attributes by doing some guesswork.
|
4. Attempt to automatically assign document attributes by doing some guesswork.
|
||||||
Read up on the :ref:`guesswork documentation<guesswork>` for more
|
Read up on the :ref:`guesswork documentation<guesswork>` for more
|
||||||
information about this process.
|
information about this process.
|
||||||
5. Encrypt the document and store it in the ``media`` directory under
|
5. Encrypt the document (if you have a passphrase set) and store it in the
|
||||||
``documents/originals``.
|
``media`` directory under ``documents/originals``.
|
||||||
6. Go to #1.
|
6. Go to #1.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user