-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
.envrc.example
59 lines (53 loc) · 2.57 KB
/
.envrc.example
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
47
48
49
50
51
52
53
54
55
56
57
58
59
# 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/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
# 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.yml
export PAYPAL_CLIENT_ID=changeme
export 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/callback
export SPLITSIO_CLIENT_ID=beep
export 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.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