document how to create slack bot and setup of .env file

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
Martin Klepsch 2018-02-01 13:33:51 +01:00 committed by Pedro Pombeiro
parent 3164cd8d9b
commit 04c257636f
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
1 changed files with 7 additions and 0 deletions

View File

@ -42,6 +42,12 @@ After this you can start the bot by running:
npm start npm start
``` ```
## Creating the Slack Bot Integration
1. Go to https://my.slack.com/services/new/bot
2. Add a bot integration
3. Note the bot token starting with `xoxb-` and put it into `.env`
## Creating the bot GitHub App ## Creating the bot GitHub App
This bot is meant to be packaged as a GitHub App. There are two steps to it: creating the app, and installing the app. Creating a GitHub App only needs to be done once and the app can be made public to be reused for any number of repositories and organizations. This bot is meant to be packaged as a GitHub App. There are two steps to it: creating the app, and installing the app. Creating a GitHub App only needs to be done once and the app can be made public to be reused for any number of repositories and organizations.
@ -71,6 +77,7 @@ See the official [docs for deployment](https://probot.github.io/docs/deployment/
- [x] Check the box for **Project for organization projects** events - [x] Check the box for **Project for organization projects** events
- Single File - **Read-only** - Single File - **Read-only**
- Path: `.github/github-bot.yml` - Path: `.github/github-bot.yml`
1. 🔍 Verify that you have **ticked 8 boxes**.
1. Generate a private key pass and save it. 1. Generate a private key pass and save it.
1. Installing the bot service: 1. Installing the bot service:
1. Deploy the bot to the cloud. 1. Deploy the bot to the cloud.