From 163525601d7234a2f864c62557870c50dbf8bc4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 29 Jun 2022 10:05:09 +0200 Subject: [PATCH] Add How to --- doc/DISCLAIMER.md | 12 ++++++++++++ doc/DISCLAIMER_fr.md | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 doc/DISCLAIMER_fr.md diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index e69de29..0e95de2 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -0,0 +1,12 @@ +### How to add zim files? + +- Download one or more ZIM files, e.g. from [https://download.kiwix.org/zim/](https://download.kiwix.org/zim/) +- Put the ZIM files into `/home/yunohost.app/kiwix/` +- Add them to the library with the following command: +``` +/var/www/kiwix/kiwix-manage /home/yunohost.app/kiwix/library.xml add /home/yunohost.app/kiwix/*.zim +``` + +- Restart the service: + +`yunohost service restart kiwix` diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md new file mode 100644 index 0000000..2941dcc --- /dev/null +++ b/doc/DISCLAIMER_fr.md @@ -0,0 +1,12 @@ +### Comment ajouter des fichiers ZIM ? + +- Téléchargez un ou plusieurs fichiers ZIM, par ex. [https://download.kiwix.org/zim/](https://download.kiwix.org/zim/) +- Mettez les fichiers ZIM dans `/home/yunohost.app/kiwix/` +- Ajoutez-les à la bibliothèque avec la commande suivante : +``` +/var/www/kiwix/kiwix-manage /home/yunohost.app/kiwix/library.xml add /home/yunohost.app/kiwix/*.zim +``` + +- Redémarrez le service : + +`yunohost service restart kiwix`