Thomas Gelf 2e998b6eb0 README.md: add installation instructions and...
...a short updated description
2018-05-07 18:17:40 +02:00

32 lines
846 B
Markdown

Icinga Web 2 - ReactPHP-based 3rd party libraries
=================================================
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.
```sh
RELEASES="https://github.com/Icinga/icingaweb2-module-reactbundle/archive" \
&& MODULES_PATH="/usr/share/icingaweb2/modules" \
&& MODULE_VERSION=0.2.0 \
&& mkdir "$MODULES_PATH" \
&& wget -q $RELEASES/v${MODULE_VERSION}.tar.gz -O - \
| tar xfz - -C "$MODULES_PATH" --strip-components 1
icingacli module enable reactbundle
```
Add a new dependency
--------------------
composer require author/library:version
Create a new release
--------------------
./bin/make-release.sh <version>
e.g.
./bin/make-release.sh 0.2.0