From 0c729e5675f3efec2c48c9bc2c79e0741f925ed4 Mon Sep 17 00:00:00 2001 From: Daniel Quinn Date: Mon, 8 Feb 2016 11:14:57 +0000 Subject: [PATCH 1/2] Changed the name, forgot to change the check. Closes #17 --- src/manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manage.py b/src/manage.py index a4b5f0eb0..db13d9d62 100755 --- a/src/manage.py +++ b/src/manage.py @@ -10,7 +10,7 @@ if __name__ == "__main__": # The runserver and consumer need to have access to the passphrase, so it # must be entered at start time to keep it safe. - if "runserver" in sys.argv or "consume" in sys.argv: + if "runserver" in sys.argv or "document_consumer" in sys.argv: if not settings.PASSPHRASE: settings.PASSPHRASE = input( "settings.PASSPHRASE is unset. Input passphrase: ") From 6115b2f03dd7a52a97d02668b40bd98d07da4f41 Mon Sep 17 00:00:00 2001 From: Sharif Nassar Date: Tue, 9 Feb 2016 01:07:48 -0800 Subject: [PATCH 2/2] Add other prerequisites Vagrant setup didn't work for me unless I manually installed tesseract and ImageMagick. --- scripts/vagrant-provision | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/vagrant-provision b/scripts/vagrant-provision index bbb3ca4ce..aa6ca5e14 100644 --- a/scripts/vagrant-provision +++ b/scripts/vagrant-provision @@ -5,6 +5,7 @@ sudo apt-get update sudo apt-get build-dep -y python-imaging sudo apt-get install -y libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev sudo apt-get install -y build-essential python3-dev python3-pip sqlite3 libsqlite3-dev git +sudo apt-get install -y tesseract-ocr tesseract-ocr-eng imagemagick # setup python project pushd /opt/paperless