# This file is just an example. # # cp it to .envrc then use `source .envrc` to apply its contents. # To source it automatically in the future, use direnv: https://github.com/direnv/direnv # # When filling out this file, know that most of it is optional. The bare # minimum is having a way to sign in (Twitch or Google). # # (Although a Splits.io client is required, you shouldn't need to do any work # beyond `make seed` to set that up.) # Google # - Required for Google sign-in & linking # - Create one at https://console.developers.google.com/apis/credentials # - Set redirect URI to http://localhost:3000/auth/google/callback export GOOGLE_CLIENT_ID=changeme export GOOGLE_CLIENT_SECRET=changeme # Patreon # - Required for Patreon linking # - Create one at https://www.patreon.com/portal/registration/register-clients # - Set redirect URI to http://localhost:3000/auth/patreon/callback export PATREON_CLIENT_ID=changeme export PATREON_CLIENT_SECRET=changeme # Splits.io # - Required for some JavaScript->Rails API calls to work, including WebSockets features like races # - Create one at http://localhost:3000/settings/applications/new # - Set redirect URI to http://localhost:3000/auth/splitsio/callback export SPLITSIO_CLIENT_ID=changeme export SPLITSIO_CLIENT_SECRET=changeme # Stripe # - Required for Stripe payments to work (even in test mode) # - Create one at https://stripe.com/ # - Create a Subscription with two Plans and set their plan IDs in docker-compose.yml # - Make a webhook for /api/webhooks/stripe subscribed to customer.subscription.deleted and checkout.session.completed export STRIPE_PUBLISHABLE_KEY=changeme export STRIPE_SECRET_KEY=changeme # Twitch # - Required for Twitch sign-in & linking # - Create one at https://dev.twitch.tv/dashboard/apps # - Set redirect URI to http://localhost:3000/auth/twitch/callback export TWITCH_CLIENT_ID=changeme export TWITCH_CLIENT_SECRET=changeme