Skip to content
This repository has been archived by the owner on May 6, 2019. It is now read-only.

cloud-computer/slackbot

Repository files navigation

Key FeaturesRequirementsSetup SlackHow To UseRelatedLicense

Key Features

Requirements

  • Docker-compose
  • A method to proxy webhooks from Slack to your local development machine
    • In the docker-compose file we use WebhookRelay to achieve this, nGrok also works just fine
  • Slack App for deployment
  • Slack App for testing (Optional)

Setup Slack

Setting up the Bot

Required Scopes

How To Use

# Clone this repository
$ git clone https://github.com/cloud-computer/slackbot

# Go into the repository
$ cd slackbot

# Install dependencies
$ docker run -v $PWD:/app -w /app node:11-alpine yarn

# Run the following with your USER token to create a .env file in the root directory
# NOTE: You will still need to populate a number of fields in the .env file
# NOTE: Your user will need access to the following scopes
# * channels:write
# * groups:write
# * files:write:user
$  yarn setup:test:environment token=

# Run stack
$ yarn docker:start