The Configuration System

We use environmental variables for all of our configuration-related things. A sample .env file (which is what pipenv looks for when it tries to launch) can be found at sample-env. Here is how each variable works. Note: all variables are strings

SLACK_SIGNING_SECRET

Signing secret of the slack app. Can be found in the basic information tab of your slack app (api.slack.com/apps).

SLACK_API_TOKEN

The slack api token of your slack bot. Can be found under OAuth & Permissions tab of your slack app (under the name “Bot user OAuth access token”).

SLACK_NOFICIATION_CHANNEL

Name of the channel you want to have our rocket 2 slack bot to make service notifications in.

SLACK_ANNOUNCEMENT_CHANNEL

Name of the channel you want to have our rocket 2 slack bot to make announcements in.

GITHUB_APP_ID

The id of your Github app (found under your Github organization settings -> Developer Settings -> Github Apps -> Edit).

GITHUB_ORG_NAME

The name of your Github organization (the string in the URL whenever you go to the organization.

GITHUB_WEBHOOK_ENDPT

The path Github posts webhooks to.

GITHUB_WEBHOOK_SECRET

A random string of characters you provide to Github to help further obfuscate and verify that the webhook is indeed coming from Github.

GITHUB_KEY

The Github app signing key (can be found under Github organization settings -> Developer Settings -> Github Apps -> Edit (at the bottom you generate and download the key)). Paste the contents of the file as a string. See deployment for troubleshooting.

AWS_ACCESS_KEYID

The AWS access key id.

AWS_SECRET_KEY

The AWS secret key.

AWS_*_TABLE

The names of the various tables (leave these as they are).

AWS_REGION

The region where the AWS instance is located (leave these as they are).

AWS_LOCAL

Point all AWS DynamoDB requests to http://localhost:8000. Optional, and defaults to False.