Skip to content

delasteve/cling

Repository files navigation

cling

Build Status dependencies Status devDependencies Status

A SlackBot for the Angular CLI team.

Installation

git clone git@github.com:delasteve/cling.git
cd cling
npm install

Configuration

In order for this project to run you need a Firebase service account file, a GitHub token, and a Slack token.

Environment File

  • Copy the .env.example file so you can edit the appropriate environment variables

    cp .env.example .env

N.B. Do not use quotes for any environment variables

Firebase

  • Log in to the Firebase console.
  • Create New Project or open an existing one.
  • Click the cog icon and select Project Settings.
  • Click on Service Accounts and click the Generate new Private Key button. This will download a json file.
  • Set the FIREBASE_* environment variables in the .env file with the appropriate values from the json file

Slack

  • Login to your Slack admin: https://your-team-name.slack.com/admin
  • Click Configure Apps in the sidebar
  • Search for Bots and on the bot page click Add Configuration
  • Give the bot a name and click Add bot integration
  • Set the SLACK_TOKEN environment variable with the bot token, e.g. xox*-************-************************

GitHub

License

MIT

About

A SlackBot for the Angular CLI team.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published