-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.env.development.local.sample
More file actions
39 lines (34 loc) · 1.96 KB
/
Copy path.env.development.local.sample
File metadata and controls
39 lines (34 loc) · 1.96 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
# To get started, copy this file to .env.development.local, and fill in keys
# below as appropriate for what you want to do.
# Intercode uses Cloudflare Turnstile for signing up for accounts.
# .env.development already sets TURNSTILE_SITE_KEY/TURNSTILE_SECRET_KEY to
# Cloudflare's documented "always passes" dummy keypair, so you don't need to
# set these unless you want to test against a real Turnstile site. To get a
# real keypair, go to https://dash.cloudflare.com/?to=/:account/turnstile and
# add a site with "intercode.test" as the domain.
TURNSTILE_SITE_KEY=XXXXXXXX
TURNSTILE_SECRET_KEY=XXXXXXXX
# These are required if you want to accept payments. To get a keypair, sign up
# for a Stripe account and make sure you're looking at the test mode API keys.
# (The keys should begin with "pk_test_" and "sk_test_".)
STRIPE_PUBLISHABLE_KEY=pk_test_XXXXXXXX
STRIPE_SECRET_KEY=sk_test_XXXXXXXX
# These are required if you want to auto-onboard Stripe Connect accounts for
# convention organizers so they can accept payments. This is not an easy
# workflow to test locally and I don't really recommend it, but if you want
# to, you'll need to get Stripe to somehow be able to connect to your
# development machine. You can then set up webhooks in test mode, and enter
# the secrets here.
STRIPE_ACCOUNT_ENDPOINT_SECRET=whsec_XXXXXXXX
STRIPE_CONNECT_ENDPOINT_SECRET=whsec_XXXXXXXX
# These are required if you want to test SMS signup/drop notifications. To
# get a keypair, sign up for a Twilio account and then buy a messaging-enabled
# phone number.
TWILIO_ACCOUNT_SID=XXXXXXXX
TWILIO_AUTH_TOKEN=XXXXXXXX
TWILIO_SMS_NUMBER="+1XXXXXXXXXX"
# If you want to have Twilio send all SMS messages to a particular phone number
# (probably your phone), set this to your phone number. Otherwise it will send
# messages to the phone numbers on the user accounts that should receive them.
# (In other words, don't set this environment variable in production!)
TWILIO_SMS_DEBUG_DESTINATION="+1XXXXXXXXXX"