A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Updated the README to point to rtfd
Daniel Quinn26d231752c28
diff --git a/README.md b/README.rstsimilarity index 67%rename from README.mdrename to README.rstindex e2bddf812..77d96e704 100644--- a/README.md+++ b/README.rst@@ -1,4 +1,7 @@-# paperless+Paperless+#########+|Documentation|+Scan, index, and archive all of your paper documentsI hate paper. Environmental issues aside, it's a tech person's nightmare:@@ -12,12 +15,14 @@ of not having the right document around. Sometimes I recycled a document Ineeded (who keeps water bills for two years?) and other times I just lostit... because paper. I wrote this to make my life easier.-## How it Works:++How it Works+============1. Buy a document scanner like [this one](http://www.brother.ca/en-CA/Scanners/11/ProductDetail/ADS1500W?ProductDetail=productdetail).2. Set it up to "scan to FTP" or something similar. It should be able to pushscanned images to a server without you having to do anything.-3. Have the target server run the *paperless* consumption script to OCR the PDF+3. Have the target server run the *Paperless* consumption script to OCR the PDFand index it into a local database.4. Use the web frontend to sift through the database and find what you want.5. Download the PDF you need/want via the web interface and do whatever you@@ -25,7 +30,8 @@ it... because paper. I wrote this to make my life easier.In most cases, no one will care or notice.-## Stability+Stability+=========Paperless is still under active development (just look at the git commithistory) so don't expect it to be 100% stable. I'm using it for my own@@ -33,7 +39,8 @@ documents, but I'm crazy like that. If you use this and it breaks something,you get to keep all the shiny pieces.-## Requirements+Requirements+============This is all really a quite simple, shiny, user-friendly wrapper around some verypowerful tools.@@ -60,40 +67,16 @@ apparently, Pillow lacks the ability to read PDFs, and PyOCR requires a Pillowobject, so we're sort of stuck.-## Instructions--1. Check out this repo to somewhere convenient and install the requirements- listed here into your environment.--2. Configure `settings.py` and make sure that `CONVERT_BINARY`, `SCRATCH_DIR`,- and `CONSUMPTION_DIR` are set to values you'd expect:-- * `CONVERT_BINARY`: The path to `convert`, installed as part of ImageMagick.- * `SCRATCH_DIR`: A place for files to be created and destroyed. The default- is as good a place as any.- * `CONSUMPTION_DIR`: The directory into which your scanner will be- depositing files. Note that the consumption script will import files from- here **and then delete them**.- * `PASSPHRASE`: You can set this here, or allow the running of the service- to ask you for it each time you start. If you store the value here, you- should probably set the permissions on `settings.py` to `0400`.+Documentation+=============-3. Run `python manage.py migrate`. This will create your local database if it- doesn't exist. You should probably change the permissions on this database- file to 0600.+It's all available on `ReadTheDocs`_.-4. Run `python manage.py createsuperuser` and follow the prompts that follow- to create a user for logging in.+.. _ReadTheDocs: https://paperless.readthedocs.org/-5. Run `python manage.py document_consumer`.-6. Start the webserver with `python manage.py runserver` and enter the same- passphrase when prompted.--7. Log into your new toy by visiting `http://localhost:8000/`.---## Important Note+Important Note+==============Document scanners are typically used to scan sensitive documents. Things likeyour social insurance number, tax records, invoices, etc. While paperless@@ -103,3 +86,5 @@ if someone has ideas on how to do that on encrypted data, I'm all ears). Thismeans that paperless should never be run on an untrusted host. Instead, Irecommend that if you do want to use it, run it locally on a server in your ownhome.++.. |Documentation| image:: https://readthedocs.org/projects/ripe-atlas-tools/badge/?version=latestdiff --git a/docs/requirements.rst b/docs/requirements.rstindex a5e54ddfd..b9dc4bbb5 100644--- a/docs/requirements.rst+++ b/docs/requirements.rst@@ -6,9 +6,15 @@ RequirementsYou need a Linux machine or Unix-like setup (theoretically an Apple machineshould work) that has the following software installed on it:-* Python3 (with development libraries, pip and virtualenv)-* Tesseract-* Imagemagick+* `Python3`_ (with development libraries, pip and virtualenv)+* `GNU Privacy Guard`_+* `Tesseract`_+* `Imagemagick`_++.. _Python3: https://python.org/+.. _GNU Privacy Guard: https://gnupg.org+.. _Tesseract: https://github.com/tesseract-ocr+.. _Imagemagick: http://imagemagick.org/If you're not working on a virtual environment (like Vagrant or Docker), youshould probably be using a virtualenv, but that's your call. The reasons why