Improve documentation regarding the use of GPG version 1. GitLab issue #333. Thank to @Albe for the report.

This commit is contained in:
Roberto Rosario
2016-11-08 02:26:17 -04:00
parent 14bde36c1f
commit 6b9b280d71
6 changed files with 17 additions and 5 deletions

View File

@@ -4,6 +4,7 @@
- Update Pillow to 3.1.2 (Security fix).
- Backport zoom transformation performance improvement (GitLab #334).
- Backport trash can navigation link resolution fix (GitLab #331).
- Improve documentation regarding the use of GPG version 1 (GitLab #333).
2.1.4 (2016-10-28)
==================

View File

@@ -10,7 +10,9 @@ and install it from PyPI with the following commands:
.. code-block:: bash
$ sudo apt-get install libjpeg-dev libmagic1 libpng-dev libreoffice libtiff-dev gcc ghostscript gnupg1 python-dev python-virtualenv tesseract-ocr poppler-utils -y
$ sudo apt-get install libjpeg-dev libmagic1 libpng-dev \
libreoffice libtiff-dev gcc ghostscript gnupg python-dev \
python-virtualenv tesseract-ocr poppler-utils -y
$ virtualenv venv
$ source venv/bin/activate
(venv) pip install mayan-edms

View File

@@ -20,7 +20,7 @@ Other changes
- Backport zoom performance improvement (GitLab #334).
- Backport trash can navigation link resolution fix (GitLab #331).
- Improve documentation regarding the use of GPG version 1 (GitLab #333).
Removals
--------
@@ -77,6 +77,7 @@ Bugs fixed or issues closed
* `GitLab issue #319 <https://gitlab.com/mayan-edms/mayan-edms/issues/319>`_ TransformationResize issue with very "long" image
* `GitLab issue #331 <https://gitlab.com/mayan-edms/mayan-edms/issues/331>`_ Trash List View: Items actions should be limited
* `GitLab issue #333 <https://gitlab.com/mayan-edms/mayan-edms/issues/333>`_ "Unable to run gpg - it may not be available."
* `GitLab issue #334 <https://gitlab.com/mayan-edms/mayan-edms/issues/334>`_ Perfomance improvment: prevent unnecessary image.resize in TransformationZoom
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/

View File

@@ -22,9 +22,13 @@ Install all system dependencies::
apt-get install nginx supervisor redis-server postgresql \
libpq-dev libjpeg-dev libmagic1 libpng-dev libreoffice \
libtiff-dev gcc ghostscript gnupg1 python-dev python-virtualenv \
libtiff-dev gcc ghostscript gnupg python-dev python-virtualenv \
tesseract-ocr poppler-utils -y
If using Ubuntu 16.10 also install GPG version 1 (as GPG version 2 is the new default for this distribution and not yet supported by Mayan EDMS) ::
apt-get install gnupg1 -y
Change to the directory where the project will be deployed::
cd /usr/share
@@ -81,6 +85,9 @@ Append the following to the ``mayan/settings/local.py`` file, paying attention t
BROKER_URL = 'redis://127.0.0.1:6379/0'
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'
If using Ubuntu 16.10, also add this line to the ``mayan/settings/local.py`` file::
SIGNATURES_GPG_PATH = '/usr/bin/gpg1'
Migrate the database or initialize the project::

View File

@@ -2,8 +2,6 @@ from __future__ import absolute_import, unicode_literals
from ..base import * # NOQA
SIGNATURES_GPG_PATH = '/usr/bin/gpg1'
INSTALLED_APPS += ('test_without_migrations',)
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',

View File

@@ -1 +1,4 @@
from ..base import * # NOQA
SIGNATURES_GPG_PATH = '/usr/bin/gpg1'