Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

msesun/daily-scrum-bot-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UPDATE Dec 8, 2022 Heroku has stopped their free tiers and free dynos so archiving this repo and converting to use Typescript and Jenkins instead


Daily Scrum Bot

A simple application to randomize daily scrum presenter.

Currently pulls data from a Google Sheets


Run Locally

Set environment variables:

  • SPREADSHEET_ID (Google Sheets ID found in your Sheets URL)
  • SPREADSHEET_RANGE (Google Sheets range ie: Sheet 1!A1:D)
  • REDIRECT_URI (Google app redirect_uri)
  • GOOGLE_CREDENTIALS (.json file that you downloaded when creating a new API credential. More info here)
  • SLACK_API_TOKEN (token generated from here)

Install dependencies:

pip3 install -r requirements.txt

Start application:

FLASK_APP=app.py FLASK_ENV=development flask run

Using https://github.com/Vetronus/heroku-flask-template as a starting point