Skip to content

akustik/topscores

Repository files navigation

Resources

Build status

Build Status

Continuous deployment

Master changes are automatically grabbed by Heroku and deployed.

Documentation

Rest API documentation can be found at http:///swagger-ui.html

Settings

Accounts

Use token:account=pwd as an env variable to enable a new account

$ heroku config
$ heroku config:set token:account=pwd

Slack

The slack integration makes sure that the commands are issued by the slack application by checking the signature. Only teams with a configured token are allowed.

token:patxanga=<required for the patxanga slack team>
slack_client_id=<something>
slack_client_secret=<something>
slack_signing_secret=<something>

For development environments the signature validation can be bypassed by adding an environment flag

bypass_slack_secret=true

Create an application and set up the following URL for the command integration,

https://something-nice-34567.herokuapp.com/slack/command

Running Locally

Use docker-compose to run the application locally,

$ docker-compose up --build

Deploying to Heroku

Master branch is integrated with Heroku and it is deployed automatically.