Update documentation to specify usage of GPG version 1. GitLab issue #324.
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ and install it from PyPI with the following commands:
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
sudo apt-get install libjpeg-dev libmagic1 libpng-dev libreoffice libtiff-dev gcc ghostscript gpgv python-dev python-virtualenv tesseract-ocr poppler-utils -y
|
sudo apt-get install libjpeg-dev libmagic1 libpng-dev libreoffice libtiff-dev gcc ghostscript gnupg1 python-dev python-virtualenv tesseract-ocr poppler-utils -y
|
||||||
virtualenv venv
|
virtualenv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
pip install mayan-edms
|
pip install mayan-edms
|
||||||
|
|||||||
+14
-11
@@ -2,15 +2,17 @@
|
|||||||
Deploying
|
Deploying
|
||||||
=========
|
=========
|
||||||
|
|
||||||
OS "bare metal"
|
Below are some ways to deploye and use Mayan EDMS. Do use more than one method.
|
||||||
===============
|
|
||||||
|
OS "bare metal" method
|
||||||
|
======================
|
||||||
|
|
||||||
Like other Django based projects Mayan EDMS can be deployed in a wide variety
|
Like other Django based projects Mayan EDMS can be deployed in a wide variety
|
||||||
of ways. The method provided below is only a bare minimum example.
|
of ways. The method provided below is only a bare minimum example.
|
||||||
These instructions are independent of the instructions mentioned in the
|
These instructions are independent of the instructions mentioned in the
|
||||||
:doc:`installation` chapter but assume you have already made a test install to
|
:doc:`installation` chapter but assume you have already made a test install to
|
||||||
test the compatibility of your operating system. These instruction are for
|
test the compatibility of your operating system. These instruction are for
|
||||||
Ubuntu 15.04.
|
Ubuntu 16.10.
|
||||||
|
|
||||||
Switch to superuser::
|
Switch to superuser::
|
||||||
|
|
||||||
@@ -20,8 +22,8 @@ Install all system dependencies::
|
|||||||
|
|
||||||
apt-get install nginx supervisor redis-server postgresql \
|
apt-get install nginx supervisor redis-server postgresql \
|
||||||
libpq-dev libjpeg-dev libmagic1 libpng-dev libreoffice \
|
libpq-dev libjpeg-dev libmagic1 libpng-dev libreoffice \
|
||||||
libtiff-dev gcc ghostscript gpgv python-dev python-virtualenv \
|
libtiff-dev gcc ghostscript gnupg1 python-dev python-virtualenv \
|
||||||
tesseract-ocr unpaper poppler-utils -y
|
tesseract-ocr poppler-utils -y
|
||||||
|
|
||||||
Change to the directory where the project will be deployed::
|
Change to the directory where the project will be deployed::
|
||||||
|
|
||||||
@@ -79,6 +81,7 @@ Append the following to the ``mayan/settings/local.py`` file, paying attention t
|
|||||||
|
|
||||||
BROKER_URL = 'redis://127.0.0.1:6379/0'
|
BROKER_URL = 'redis://127.0.0.1:6379/0'
|
||||||
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'
|
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'
|
||||||
|
SIGNATURES_GPG_PATH = '/usr/bin/gpg1'
|
||||||
|
|
||||||
Migrate the database or initialize the project::
|
Migrate the database or initialize the project::
|
||||||
|
|
||||||
@@ -189,8 +192,8 @@ Restart the services::
|
|||||||
/etc/init.d/nginx restart
|
/etc/init.d/nginx restart
|
||||||
/etc/init.d/supervisor restart
|
/etc/init.d/supervisor restart
|
||||||
|
|
||||||
Docker
|
Docker method
|
||||||
======
|
=============
|
||||||
|
|
||||||
Deploy the Docker image stack::
|
Deploy the Docker image stack::
|
||||||
|
|
||||||
@@ -205,8 +208,8 @@ with::
|
|||||||
docker logs mayan-edms
|
docker logs mayan-edms
|
||||||
|
|
||||||
|
|
||||||
Docker Compose
|
Docker Compose method
|
||||||
==============
|
=====================
|
||||||
|
|
||||||
Create a file named ``environment`` with the following content::
|
Create a file named ``environment`` with the following content::
|
||||||
|
|
||||||
@@ -248,8 +251,8 @@ with::
|
|||||||
|
|
||||||
docker logs mayanedms_mayan-edms_1
|
docker logs mayanedms_mayan-edms_1
|
||||||
|
|
||||||
Vagrant
|
Vagrant method
|
||||||
=======
|
==============
|
||||||
Make sure you have Vagrant and a provider properly installed as per
|
Make sure you have Vagrant and a provider properly installed as per
|
||||||
https://docs.vagrantup.com/v2/installation/index.html
|
https://docs.vagrantup.com/v2/installation/index.html
|
||||||
Clone the repository and execute::
|
Clone the repository and execute::
|
||||||
|
|||||||
@@ -21,4 +21,6 @@ keys no longer needed can also be deleted from this menu.
|
|||||||
|
|
||||||
Only `GNU Privacy Guard`_ signatures are support at the moment.
|
Only `GNU Privacy Guard`_ signatures are support at the moment.
|
||||||
|
|
||||||
|
Only version 1 of `GNU Privacy Guard`_ is supported for now.
|
||||||
|
|
||||||
.. _`GNU Privacy Guard`: www.gnupg.org/
|
.. _`GNU Privacy Guard`: www.gnupg.org/
|
||||||
|
|||||||
Reference in New Issue
Block a user