Git Product home page Git Product logo

slack-standup-bot's Introduction

Standup-Bot

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.

Slack Setup:

  • Create a new Bot in Slack if you don't have one
    • Visit https://your-team.slack.com/services/new/bot
  • Add your Bot to the Private Slack Group
    • /invite @your_bot
  • Add a slash command integration (It allows to start the Standup typing /standup in Slack)
    • Visit https://your-team.slack.com/services/new/slash-commands
      • Set /standup as the command.
      • Set http://your-app.herokuapp.com/api/start as the url.
      • Set GET as the method.

Local Setup (After Slack Setup):

  • Clone the repository
  • Install all the gems
    • bundle install
  • Create and migrate the DB
    • rake db:create db:migrate
  • Create a new .env file and associate the API Token of your Bot
    • echo SLACK_API_TOKEN=your-token > .env
  • Start a local server and then visit the Settings page
    • rails s
    • Visit http://localhost:3000/settings Enter your Private Group name and the Bot username.
  • Now you have everythig ready to start your first Standup
    • Visit http://localhost:3000/api/start or just type /standup.

Heroku Setup (After Slack Setup):

  • Clone the repository
  • Associate your Heroku app and then push the master branch into Heroku
    • heroku git:remote -a heroku-app-name
    • git push heroku master
  • Run the Migrations
    • heroku run rake db:migrate
  • Associate the API Token of your Bot with the Application
    • heroku config:set SLACK_API_TOKEN=your-token
  • Visit the Settings page
    • http://your-app.herokuapp.com/settings Enter your Private Group name and the Bot username.
  • Now you have everythig ready to start your first Standup
    • Visit http://your-app.herokuapp.com/api/start or just type /standup.

Be really careful when assigning the Private Channel name and the Bot username, the app won't work if one of them is incorrect.

Commands:

  • -skip Skips your turn until the end of standup.

  • -yes Agrees to start your standup.

  • -help Displays 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.

  • Admin only Commands (Admin is determined by user who enters "-Start" Command)
    • -vacation: @user Skip users standup for the day.
    • -skip: @user Place user at the end of standup.
    • -n/a: @user Skips users standup for the day
    • -quit-standup Quit standup.
    • -start Begins standup.
How to make a pull request:
  1. Fork it ( https://github.com/sofetch/slack-standup-bot/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

slack-standup-bot's People

Contributors

cgrusden avatar jasonmannon avatar santiagodoldan avatar timchilcott avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.