using in info-mie-u.slack.com
Haskell-stack is required.
git clone https://github.com/kentahama/slackbot.git && cd slackbot
- Save the following YAML setting into
stack.yaml
stack build
resolver: lts-7.19 # you can change this
packages:
- '.'
- location: https://github.com/kentahama/slack-api/archive/511448242cd59c9f6d00ffdc1dc37923e34d7bfb.tar.gz
extra-dep: true
cd work
env SLACK_API_TOKEN=xxx-xxxxxx-xxxxxxxx stack exec slackbot