| .gitignore | ||
| composer.json | ||
| composer.lock | ||
| gulpfile.js | ||
| LICENSE | ||
| package.json | ||
| Plugin.php | ||
| README.md | ||
Mibew Slack plugin
Provides Slack notifications when initiate a chat
Installation
-
Get the archive with the plugin sources. At the moment the only option is to build the plugin from sources or grab it from the zip file.
-
Untar/unzip the plugin's archive.
-
Put files of the plugins to the
<Mibew root>/pluginsfolder. -
Obtain a webhook key from Slack. Go to slack, open your app directory, click on Manage, click on Custom Integrations
-
Click on App Configuration. Choose the channel it should post to, click on Add Incoming Webhook Integration
-
Copy the Webhook URL
-
Add plugins config to plugins structure like below.
plugins: "Mibew:Slack": # Plugin's configurations are described below username: "Username you will post as" channel: "Channel to post in" slack_url: "Webhook URL from Setup Instructions in Slack"
Plugin's configurations
The plugin can be configured with values in "<Mibew root>/configs/config.yml" file.
Build from sources
There are several actions one should do before use the latest version of the plugin from the repository:
- Obtain a copy of the repository using
git clone, download button, or another way. - Install node.js and npm.
- Install Gulp.
- Install npm dependencies using
npm install. - Run Gulp to build the sources using
gulp default.
Finally .tar.gz and .zip archives of the ready-to-use Plugin will be available in release directory.