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.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647# 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/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
# 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/callbackexport SPLITSIO_CLIENT_ID=changemeexport 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.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