From 7288b9affd9d2c8fb9a0031155785b5f146deab7 Mon Sep 17 00:00:00 2001 From: HgO Date: Sun, 22 Sep 2019 19:01:18 +0200 Subject: [PATCH] fix install documentation and add software requirements --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 01b772e..c8b5f96 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,21 @@ It will setup a daily cron task that will automatically renew your certificate w **Warning**: As it is used by the Yunohost app, do NOT rename or delete the script unless you know what you are doing. +## Requirements + +Please refer to the [documentation of cryptography](https://cryptography.io/en/stable/installation/#building-cryptography-on-linux) python3 module for the software requirements. + +For instance, on Debian / Ubuntu, you will need the following: +```bash +apt install python3-venv libssl-dev libffi-dev python3-dev +``` + ## Installation ```bash git clone https://github.com/neutrinet/renew_cert cd renew_cert -virtualenv ve +python3 -m venv ve source ve/bin/activate pip install -r requirements.txt ```