Mibew Slack Plugin
Go to file
2017-02-27 14:29:06 -05:00
.gitignore Prevent service composer files from being stored in the repo 2017-02-08 14:10:24 +03:00
composer.json Added in composer files 2017-02-06 21:32:20 -05:00
gulpfile.js Fix permissions for release archives (fixes #5) 2017-02-08 10:44:21 +03:00
LICENSE First initial commit of slack plugin. Packaged up 2017-01-24 23:04:29 -05:00
package.json Added in line comments 2017-02-21 18:52:07 -05:00
Plugin.php Merge branch 'master' into master 2017-02-27 14:29:06 -05:00
README.md Beautify code 2017-02-25 15:09:08 +03:00

Stories in Ready

Mibew Slack plugin

Provides Slack notifications when initiate a chat

Installation

  1. 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.

  2. Untar/unzip the plugin's archive.

  3. Put files of the plugins to the <Mibew root>/plugins folder.

  4. Obtain a webhook key from Slack:

    a. Go to Slack.com , open your app directory, find and enter Incoming WebHooks app, click on Add Configuration

    b. Click on App Configuration. Choose the Channel it should post to, click on Add Incoming Webhook Integration

    c. Copy the Webhook URL

  5. 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:

  1. Obtain a copy of the repository using git clone, download button, or another way.
  2. Install node.js and npm.
  3. Install Gulp.
  4. Install npm dependencies using npm install.
  5. 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.

License

Apache License 2.0