-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add archive file and build tool, move src file to src folder
- Loading branch information
Showing
8 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,42 @@ | ||
# mibew-operator-status-plugin | ||
Plugin for Mibew, get statement based on the availability of operators. | ||
|
||
# Useage | ||
|
||
Request `<MIBEW-BASE-URL>/opstatus?code=<OPERATOR-CODE>`, your will get `true` when operator | ||
is online or `false` when operator is offline. | ||
|
||
# Install | ||
|
||
1. Get the archive with the plugin sources from link bellow: | ||
|
||
* [mibew-operator-status-plugin.tar.gz](archive/mibew-operator-status-plugin.tar.gz) | ||
|
||
* [mibew-operator-status-plugin.zip](archive/mibew-operator-status-plugin.zip) | ||
|
||
2. Untar/unzip the plugin's archive. | ||
|
||
3. Put files of the plugins to the `<MIBEW-ROOT>/plugins` folder. | ||
|
||
4. Navigate to `<MIBEW-BASE-URL>/operator/plugin` page and enable the plugin. | ||
|
||
**Tips**: if you plugin state is "not initialized", please check `<MIBEW-ROOT>/configs/config.yml` file is not: | ||
|
||
```yml | ||
... | ||
plugins: [] | ||
... | ||
``` | ||
and should be like this: | ||
|
||
```yml | ||
... | ||
plugins: | ||
"SomePlugin": | ||
key: value | ||
... | ||
``` | ||
|
||
# License | ||
|
||
[MIT](LICENSE) |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
plugin_root_dir='Everyx' | ||
plugin_target_dir="$plugin_root_dir/Mibew/Plugin/OperatorStatus" | ||
mkdir -p $plugin_target_dir | ||
cp -R src/* $plugin_target_dir | ||
tar -czvf archive/mibew-operator-status-plugin.tar.gz $plugin_root_dir | ||
zip -r archive/mibew-operator-status-plugin.zip $plugin_root_dir | ||
rm -rf $plugin_root_dir |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.