README: more installation details, mention GIT

This commit is contained in:
Thomas Gelf 2018-05-07 18:25:09 +02:00
parent 48e09aa1c1
commit 4372588c25

View File

@ -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
--------------------