Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fix: formatting cleanup

Daniel Quinn34bab0431074
diff --git a/README.rst b/README.rst
index 5a73e0532..9a4a148ed 100644
--- a/README.rst
+++ b/README.rst
@@ -23,7 +23,8 @@ it... because paper. I wrote this to make my life easier.
How it Works
============
-Paperless does not control your scanner, it only helps you deal with what your scanner produces
+Paperless does not control your scanner, it only helps you deal with what your
+scanner produces
1. Buy a document scanner like `this one`_ (used by me) or `this other one`_
recommended by another user.
@@ -50,15 +51,15 @@ Stability
=========
Paperless is still under active development (just look at the git commit
-history) so don't expect it to be 100% stable. You can backup the sqlite3
+history) so don't expect it to be 100% stable. You can backup the sqlite3
database, media directory and your configuration file to be on the safe side.
Requirements
============
-This is all really a quite simple, shiny, user-friendly wrapper around some very
-powerful tools.
+This is all really a quite simple, shiny, user-friendly wrapper around some
+very powerful tools.
* `ImageMagick`_ converts the images between colour and greyscale.
* `Tesseract`_ does the character recognition.
@@ -85,9 +86,9 @@ Similar Projects
There's another project out there called `Mayan EDMS`_ that has a surprising
amount of technical overlap with Paperless. Also based on Django and using
a consumer model with Tesseract and Unpaper, Mayan EDMS is *much* more
-featureful and comes with a slick UI as well, but still in Python 2. It may be
-that Paperless consumes fewer resources, but to be honest, this is just a guess
-as I haven't tested this myself. One thing's for certain though, *Paperless*
+featureful and comes with a slick UI as well, but still in Python 2. It may be
+that Paperless consumes fewer resources, but to be honest, this is just a guess
+as I haven't tested this myself. One thing's for certain though, *Paperless*
is a **much** better name.
diff --git a/docs/setup.rst b/docs/setup.rst
index 31bc1a2da..fe1ab6628 100644
--- a/docs/setup.rst
+++ b/docs/setup.rst
@@ -4,8 +4,9 @@ Setup
=====
Paperless isn't a very complicated app, but there are a few components, so some
-basic documentation is in order. If you follow along in this document and still
-have trouble, please open an `issue on GitHub`_ so I can fill in the gaps.
+basic documentation is in order. If you follow along in this document and
+still have trouble, please open an `issue on GitHub`_ so I can fill in the
+gaps.
.. _issue on GitHub: https://github.com/danielquinn/paperless/issues
@@ -42,9 +43,9 @@ You can go multiple routes with setting up and running Paperless. The `Vagrant
route`_ is quick & easy, but means you're running a VM which comes with memory
consumption etc. We also `support Docker`_, which you can use natively under
Linux and in a VM with `Docker Machine`_ (this guide was written for native
-Docker usage under Linux, you might have to adapt it for Docker Machine.)
-Not to forget the virtualenv, this is similar to `bare metal`_ with the exception
-that you have to activate the virtualenv first.
+Docker usage under Linux, you might have to adapt it for Docker Machine.)
+Not to forget the virtualenv, this is similar to `bare metal`_ with the
+exception that you have to activate the virtualenv first.
Last but not least, the standard `bare metal`_ approach is a little more
complicated, but worth it because it makes it easier should you want to
contribute some code back.
@@ -62,8 +63,8 @@ Standard (Bare Metal)
1. Install the requirements as per the :ref:`requirements <requirements>` page.
2. Within the extract of master.zip go to the ``src`` directory.
-3. Copy ``paperless.conf.example`` to ``/etc/paperless.conf`` also the virtual
- envrionment look there for it and open it in your favourite editor.
+3. Copy ``paperless.conf.example`` to ``/etc/paperless.conf`` also the virtual
+ envrionment look there for it and open it in your favourite editor.
Because this file contains passwords it should only be readable by user root
and paperless ! Set the values for:
@@ -78,10 +79,11 @@ Standard (Bare Metal)
5. Create a user for your Paperless instance with
``./manage.py createsuperuser``. Follow the prompts to create your user.
6. Start the webserver with ``./manage.py runserver <IP>:<PORT>``.
- If no specifc IP or port are given, the default is ``127.0.0.1:8000``
+ If no specifc IP or port are given, the default is ``127.0.0.1:8000``
also known as http://localhost:8000/.
- You should now be able to visit your (empty) at `Paperless webserver`_ or
- whatever you chose before. You can login with the user/pass you created in #5.
+ You should now be able to visit your (empty) at `Paperless webserver`_ or
+ whatever you chose before. You can login with the user/pass you created in
+ #5.
7. In a separate window, change to the ``src`` directory in this repo again,
but this time, you should start the consumer script with
``./manage.py document_consumer``.
@@ -303,15 +305,16 @@ Standard (Bare Metal, Systemd)
If you're running on a bare metal system that's using Systemd, you can use the
service unit files in the ``scripts`` directory to set this up. You'll need to
-create a user called ``paperless`` (without login (if not already done so #5)) and
-setup Paperless to be in a place that this new user can read and write to. Be sure
-to edit the service scripts to point to the proper location of your paperless install,
-referencing the appropriate Python binary. For example:
+create a user called ``paperless`` (without login (if not already done so #5))
+and setup Paperless to be in a place that this new user can read and write to.
+Be sure to edit the service scripts to point to the proper location of your
+paperless install, referencing the appropriate Python binary. For example:
``ExecStart=/path/to/python3 /path/to/paperless/src/manage.py document_consumer``.
-If you don't want to make a new user, you can change the ``Group`` and ``User`` variables
-accordingly.
+If you don't want to make a new user, you can change the ``Group`` and ``User``
+variables accordingly.
-Then, you can just tell Systemd as ``root`` (or using ``sudo``) to enable the two ``.service`` files::
+Then, you can just tell Systemd as ``root`` (or using ``sudo``) to enable the
+two ``.service`` files::
# systemctl enable /path/to/paperless/scripts/paperless-consumer.service
# systemctl enable /path/to/paperless/scripts/paperless-webserver.service