Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 823 Bytes

README.md

File metadata and controls

27 lines (15 loc) · 823 Bytes

FitnessBot

Slack bot inspired by https://github.com/brandonshin/slackbot-workout

At intervals, it calls out a random exercise for a random person in the #fitness channel.

References

Installation

clone the git repo

configure environment variables or modify config/prod.exs

MIX_ENV=prod iex -S mix

Environments

With MIX_ENV=test, it uses mock Slack and Slackbot clients

With MIX_ENV=dev, (the default,) it uses the real Slack client to read data, but the mock Slackbot client so that it does not actually send the messages to Slack

With MIX_ENV=prod, it uses the real Slack and Slackbot clients to read and post