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.