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
1.9.2
. go get github.com/snyderks/people-to-pizzas
- Install dependencies using godep (deprecated, but required for Heroku).
- Create a file called
config.json
in the directory. UsetestConfig.json
for the format.slack-token
is a valid Slack API token.sheets-key
is a valid Google Sheets API token.sheet-id
is the spreadsheet ID of a public Google Sheet.
- Run tests with
go test ./...
go build
- Run the resulting executable.
- Set up the Slack slash command to take one parameter: a number.