People -> Pizzas
Take people and get pizzas.
Built because ACM@UC can't remember how many pizzas to buy for X people.
- You need Go to compile and run the app—this was written in
go get github.com/snyderks/people-to-pizzas
- Install dependencies using godep (deprecated, but required for Heroku).
- Create a file called
config.jsonin the directory. Use
testConfig.jsonfor the format.
slack-tokenis a valid Slack API token.
sheets-keyis a valid Google Sheets API token.
sheet-idis the spreadsheet ID of a public Google Sheet.
- Run tests with
go test ./...
- Run the resulting executable.
- Set up the Slack slash command to take one parameter: a number.