Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960# This file is just an example.## Some Splits.io features are built on top of links with other platforms, like Twitch# sign-in. If you want these features to work, you need to register developer# applications with the appropriate services. This file will walk you through that.## First, run `cp .envrc.example .envrc` then re-open .envrc. Follow the instructions# below for the services you want to set up. Then, `source .envrc` to apply its# contents. You will need to reboot your local server afterwards.# # To source .envrc automatically in the future, use direnv:# https://github.com/direnv/direnv## Every service is optional.
# 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/callbackexport GOOGLE_CLIENT_ID=changemeexport 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/callbackexport PATREON_CLIENT_ID=changemeexport PATREON_CLIENT_SECRET=changeme
# PayPal# - Required for PayPal payments to work (even in test mode)# - Create one at https://developer.paypal.com/developer/applications/create# - Make a webhook for /api/webhooks/paypal subscribed to "Billing subscription cancelled"# - Create a Subscription Plan at https://www.paypal.com/billing/plans and set its plan ID as PAYPAL_PLAN_ID in docker-compose.ymlexport PAYPAL_CLIENT_ID=changemeexport PAYPAL_CLIENT_SECRET=changeme
# Splits.io# - Required for some JavaScript->Rails API calls to work, including WebSockets features like races# - This should not need changing if you have run `make seed`# - Create one at http://localhost:3000/settings/applications/new# - Set redirect URI to http://localhost:3000/auth/splitsio/callbackexport SPLITSIO_CLIENT_ID=beepexport SPLITSIO_CLIENT_SECRET=boop
# Stripe# - Required for Stripe payments to work (even in test mode)# - Create one at https://stripe.com/# - Create a Subscription with one Plan and set its plan ID as STRIPE_PLAN_ID_TIER3 in docker-compose.yml# - Make a webhook for /api/webhooks/stripe subscribed to customer.subscription.deleted and checkout.session.completedexport STRIPE_PUBLISHABLE_KEY=changemeexport 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/callbackexport TWITCH_CLIENT_ID=changemeexport TWITCH_CLIENT_SECRET=changeme