Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1 KB

README.md

File metadata and controls

30 lines (18 loc) · 1 KB

Swift Version Plaforms License MIT

##SlackBot: A swift slack bot easy to deploy using Docker

###Description

The goal of this project is to have a starting point for making a slack bot (https://api.slack.com/bot-users) written in swift, up and running in production under 10 minutes.

This bot is using: SlackKit that use Zewo.

###Pre requirements You will need to create a bot on your slack account. And get a slack API token.

###Usage ####On your computer

  • clone this repository
  • swift build
  • .build/debug/SlackBot --token=YOUR_SLACK_API_TOKEN

####With Docker

docker build . -t SlackBot

docker run --rm -it -p 8080:8080 -e SLACK_TOKEN="your slack key" SlackBot

####With Heroku

  • heroku create
  • heroku container:push worker