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.
splits-io .envrc.example
1.7 kB 40 lines
1234567891011121314151617181920212223242526272829303132333435363738394041# This file is just an example.# cp it to .envrc then use `source` to apply its contents.# .envrc is gitignored, so you won't accidentally commit your creds. :)# Once copied, check out direnv (https://github.com/direnv/direnv) to automatically source it
# 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