From f08157ff6a202d6790a022a7a0ae71606f6efb83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Tue, 26 Jan 2021 12:01:00 +0100 Subject: [PATCH 1/2] Accept rrdtool version of current Debian package --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2d686696e..ff2f1cc0d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -31,7 +31,7 @@ chardet ovh oath redis -rrdtool>=0.1.11 +rrdtool>=0.1.10 qrcode aiosmtplib From 7d5f87aaab43e48bb7a82c33c0cf2f6ef5a6421e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Tue, 26 Jan 2021 12:17:24 +0100 Subject: [PATCH 2/2] Document the system packages which can be installed --- doc/manual_installation/modoboa.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/manual_installation/modoboa.rst b/doc/manual_installation/modoboa.rst index 1dfe0f6e6..f939d3d21 100644 --- a/doc/manual_installation/modoboa.rst +++ b/doc/manual_installation/modoboa.rst @@ -55,9 +55,14 @@ following system packages according to your distribution: .. note:: Alternatively, you could rely on your distribution packages for the Modoboa - dependencies which require compilation - e.g. ``psycopg2`` - if the version + dependencies which require compilation - e.g. ``rrdtool`` - if the version is compatible. In this case, you have to create your virtual environment - with the ``--system-site-packages`` option. + with the ``--system-site-packages`` option, and the required system + packages will be: + + +---------------------------------------+ + | python3-wheel python3-rrdtool rrdtool | + +---------------------------------------+ Then, install Modoboa by running: @@ -183,7 +188,7 @@ you just have to run the following command: A database url should meet the following syntax ``://[user:pass@][host:port]/dbname`` **OR** ``sqlite:////full/path/to/your/database/file.sqlite``. - + Fox example, if you were using postgres, you could setup your command like this: ``modoboa-admin.py deploy instance_name --collectstatic --domain example.com --dburl default:postgres://user:pass@[localhost]/modoboa``