# You can use this file to manage environment variables. Each variable in this file is loaded as an environment variable # when the corresponding environment is booted into. You can instead choose to use normal environment variables and that # works fine too. # The gem that does this is called Figaro. development: # Required. Default should be fine if your postgresql server is running locally. DATABASE_URL: postgres://localhost # Required for login to work. Register an application @ twitch.tv/settings/connections. # When registering, use a redirect uri of http://localhost:3000/auth/twitch/callback TWITCH_CLIENT_ID: TWITCH_CLIENT_SECRET: # splits-io uses S3 to store splits. For development you probably don't want that, so run fakes3 instead. You can # start a local fakes3 server with # # fakes3 -r /tmp -p 4567 # # When AWS_REGION is set to `local`, the local fakes3 server will be used. AWS_ACCESS_KEY_ID and AWS_SECRET_KEY can be # any non-blank strings. # # Or, if you want to use a real S3 account, fill in its info here. S3_BUCKET: splits-io AWS_REGION: local AWS_ACCESS_KEY_ID: boop AWS_SECRET_KEY: beep ######################################################## # You shouldn't need to fill out anything below here # ######################################################## STRIPE_PUBLISHABLE_KEY: STRIPE_SECRET_KEY: # Enable or diable the Gold feature. 1 is on, anything else is off. GOLD: "1" # Patreon credentials are used for giving users benefits based on their patronage. The redirect URIs for the client # should be: # https://splits.io/auth/patreon/callback # http://localhost:3000/auth/patreon/callback PATREON_CLIENT_ID: PATREON_CLIENT_SECRET: # Google credentials are used for exporting run/segment history to Google Sheets. The redirect URIs for the client # should be: # https://splits.io/auth/google_oauth2/callback # http://localhost:3000/auth/google_oauth2/callback GOOGLE_CLIENT_ID: GOOGLE_CLIENT_SECRET: test: # required to be able to run tests DATABASE_URL: postgres://localhost S3_BUCKET: splits-io AWS_REGION: local AWS_ACCESS_KEY_ID: boop AWS_SECRET_KEY: beep production: DATABASE_URL: TWITCH_CLIENT_ID: TWITCH_CLIENT_SECRET: PATREON_CLIENT_ID: PATREON_CLIENT_SECRET: NEW_RELIC_LICENSE_KEY: ROLLBAR_ACCESS_TOKEN: SECRET_KEY_BASE: S3_BUCKET: AWS_REGION: AWS_ACCESS_KEY_ID: AWS_SECRET_KEY: STRIPE_PUBLISHABLE_KEY: STRIPE_SECRET_KEY: