forked from glacials/splits-io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.envrc.example
More file actions
46 lines (41 loc) · 1.87 KB
/
.envrc.example
File metadata and controls
46 lines (41 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# 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