From 4372588c2531043a451688e2ffd1fc7b549ba79d Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 7 May 2018 18:25:09 +0200 Subject: [PATCH] README: more installation details, mention GIT --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 9191c36..0e07880 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,9 @@ This repository is an attempt to ship 3rd party libraries that might be useful for asynchronous PHP-based Icinga Web 2 modules. Please download the latest release and install it like any other module. +Please do not use the GIT master, as it will never contain any of the referenced +libraries. Instead, download a tagged release like in this script (as root): + ```sh RELEASES="https://github.com/Icinga/icingaweb2-module-reactbundle/archive" \ && MODULES_PATH="/usr/share/icingaweb2/modules" \ @@ -15,6 +18,16 @@ RELEASES="https://github.com/Icinga/icingaweb2-module-reactbundle/archive" \ icingacli module enable reactbundle ``` +Alternatively, in case you prefer working with GIT, please clone the +repository and check out the desired tag or branch: + +```sh +git clone https://github.com/Icinga/icingaweb2-module-reactbundle.git \ + /usr/share/icingaweb2/modules/reactbundle +cd /usr/share/icingaweb2/modules/reactbundle +git checkout -b release/v0.2.0 v0.2.0 +icingacli module enable reactbundle +``` Add a new dependency --------------------