diff --git a/docs/topics/deploying.rst b/docs/topics/deploying.rst index 804e0d3971..10b76b5f99 100644 --- a/docs/topics/deploying.rst +++ b/docs/topics/deploying.rst @@ -21,7 +21,7 @@ Ubuntu If using a Debian_ or Ubuntu_ based Linux distribution, get the executable requirements using:: - apt-get install g++ gcc ghostscript gnupg1 graphviz libjpeg-dev libmagic1 \ + sudo apt-get install g++ gcc ghostscript gnupg1 graphviz libjpeg-dev libmagic1 \ libpq-dev libpng-dev libreoffice libtiff-dev poppler-utils postgresql \ python-dev python-pip python-virtualenv redis-server sane-utils supervisor \ tesseract-ocr zlib1g-dev -y @@ -48,7 +48,7 @@ Make the mayan user the owner of the installation directory:: Install Mayan EDMS from PyPI:: - sudo -u mayan /opt/mayan-edms/bin/pip --no-cache-dir install mayan-edms + sudo -u mayan /opt/mayan-edms/bin/pip install --no-cache-dir mayan-edms Install the Python client for PostgreSQL and Redis:: diff --git a/docs/topics/docker.rst b/docs/topics/docker.rst index ecce5aed40..353f9b06c4 100644 --- a/docs/topics/docker.rst +++ b/docs/topics/docker.rst @@ -22,7 +22,7 @@ Then download version 9.5 of the Docker PostgreSQL image:: Create and run a PostgreSQL container:: docker run -d \ - --name mayan-emds-postgres \ + --name mayan-edms-postgres \ --restart=always \ -p 5432:5432 \ -e POSTGRES_USER=mayan \