=== ####Automated Standups for Slack Private Groups Messaging tools like Slack changed our work world. Standup changed our meetings. Standup Bot keeps us accountable, tracks our goals, and got us to post our successes, plans, and upcoming challenges. We love it so much and we think you will too, so we're releasing it Open-Source.
- Clone repository
git clone [email protected]:sofetch/slack-standup-bot.git - Create and migrate DB.
rake db:createrake db:migrate - Add a .env file to slack-standup-bot directory
- Add a bot integration in slack
https://your-team.slack.com/services/new/bot - Copy your API code to the .env file.
SLACK_API_TOKEN=your-token - Add your bot to the private slack group you want to use the bot with.
- Start a local server and visit
http://localhost:3000/settingsEnter your private group name and bot name and save. - Visit
http://localhost:3000/api/startto begin your standup. - Visiting
http://localhost:3000/settingswill allow you to edit your group and bot name.
- Create a heroku app and push the standup-bot directory to Heroku.
- Migrate DB
heroku run rake db:migrate - visit
http://your-app.herokuapp.com/settingsand fill in your bot name and private group name - Add a slash command integration.
https://your-team.slack.com/services/new/slash-commands. This command is going to start your daily standup. Enter/standupas the command andhttp://your-app.herokuapp.com/api/startas the url. Set the method to GET. - Typing /standup will launch a standup.
-
-skipSkips your turn until the end of standup. -
-yesAgrees to start your standup. -
-helpDisplays standup-bot commands in your group. -
-edit: #(1,2,3)Edit your answer for the day. -
-delete: #(1,2,3)Delete your answer for the day. -
-vacation: @userSkip users standup for the day.-skip: @userPlace user at the end of standup.-n/a: @userSkips users standup for the day-quit-standupQuit standup.-startBegins standup.
- Fork it ( https://github.com/sofetch/slack-standup-bot/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request