Current section
Files
Jump to
Current section
Files
README.md
# Phubme[](https://travis-ci.org/benoittgt/PhubMe)Notify slack user when you are mentionned in a github comment## DisclaimerThis is my first Elixir project. I'm looking for reviews and feedbacks about the code. Feel free to open an issue to comment the code or open a pull request.## InstallationIt's [available in Hex](https://hex.pm/packages/phubme). The package can be installed with: 1. Add phubme to your list of dependencies in `mix.exs`: def deps do [{:phubme, "~> 0.5.2"}] end 2. Ensure phubme is started before your application: def application do [applications: [:phubme]] end## Setup### SlackTo use PhuMe you need to get first a bot token from Slack. [Create one](https://api.slack.com/bot-users) and get the token.Set this token to the env variables `PHUB_ME_SLACK_API_TOKEN`.### NicknamesAs slack token. Nicknames need to be set as env variables. **Export variables without `@`** :```shexport mynicknameongithub=mynicknameonslack```In Heroku it looks like this :Github nickname on the left, slack nickname on the right.### Github webhookThen in github in webhooks add configuration for your Phubme. `https://myserver.io/phubme`, `application/json` only "Issue comment".Then try it.Feel free to open issue and PR.