mirror of
https://github.com/Icinga/icingaweb2-module-reactbundle.git
synced 2025-07-29 00:34:06 +02:00
32 lines
846 B
Markdown
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.3.1 \
|
|
&& 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.3.1
|