A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Organised and documented project settings
Daniel Quinnfbbaf9cce0ba
diff --git a/src/paperless/settings.py b/src/paperless/settings.pyindex df6776769..95ba4b1fc 100644--- a/src/paperless/settings.py+++ b/src/paperless/settings.py@@ -126,9 +126,6 @@ USE_L10N = TrueUSE_TZ = True-# Tesseract language setting-TESSERACT_LANGUAGE = "eng"-# Static files (CSS, JavaScript, Images)# https://docs.djangoproject.com/en/1.9/howto/static-files/@@ -139,12 +136,30 @@ STATIC_URL = '/static/'MEDIA_URL = "/media/"+## Paperless-specific stuffs# Change these paths if yours are different+#++# The default language that tesseract will attempt to use when parsing+# documents. It should be a 3-letter language code consistent with ISO 639.+OCR_LANGUAGE = "eng"++# If this is true, any failed attempts to OCR a PDF will result in the PDF being+# indexed anyway, with whatever we could get. If it's False, the file will+# simply be left in the CONSUMPTION_DIR.+FORGIVING_OCR = True+# GNUPG needs a home directory for some reasonGNUPG_HOME = os.environ.get("HOME", "/dev/null")++# Convert is part of the Imagemagick packageCONVERT_BINARY = "/usr/bin/convert"-SCRATCH_DIR = "/tmp/paperless" # Will be created if it doesn't exist++# This will be created if it doesn't exist+SCRATCH_DIR = "/tmp/paperless"++# This is where Paperless will look for PDFs to indexCONSUMPTION_DIR = os.environ.get("PAPERLESS_CONSUME")# Set this and change the permissions on this file to 0600, or set it to