forked from freeCodeCamp/freeCodeCamp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.env
79 lines (64 loc) · 2.05 KB
/
sample.env
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Database
MONGOHQ_URL=mongodb://127.0.0.1:27017/freecodecamp?directConnection=true
# Logging
SENTRY_DSN=dsn_from_sentry_dashboard
SENTRY_CLIENT_DSN=dsn_from_sentry_dashboard
SENTRY_ENVIRONMENT=staging
# Auth0 - OAuth 2.0 Credentials
AUTH0_CLIENT_ID=client_id_from_auth0_dashboard
AUTH0_CLIENT_SECRET=client_secret_from_auth0_dashboard
AUTH0_DOMAIN=example.auth0.com
AUTH0_AUDIENCE=sample_audience
# Session, Cookie and JWT encryption strings
SESSION_SECRET=a_thirty_two_plus_character_session_secret
COOKIE_SECRET=a_cookie_secret
JWT_SECRET=a_jwt_secret
# Client Search Bar
ALGOLIA_APP_ID=app_id_from_algolia_dashboard
ALGOLIA_API_KEY=api_key_from_algolia_dashboard
# Stripe
STRIPE_PUBLIC_KEY=pk_from_stripe_dashboard
STRIPE_SECRET_KEY=sk_from_stripe_dashboard
# PayPal
PAYPAL_CLIENT_ID=id_from_paypal_dashboard
PAYPAL_SECRET=secret_from_paypal_dashboard
PAYPAL_VERIFY_WEBHOOK_URL=https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature
PAYPAL_API_TOKEN_URL=https://api.sandbox.paypal.com/v1/oauth2/token
PAYPAL_WEBHOOK_ID=webhook_id_from_paypal_dashboard
# Webhook proxy url from smee.io for PayPal
WEBHOOK_PROXY_URL=
# Patreon
PATREON_CLIENT_ID=id_from_patreon_dashboard
# Analytics
GROWTHBOOK_URI=api_URI_from_Growthbook_dashboard
# Application paths
HOME_LOCATION=http://localhost:8000
API_LOCATION=http://localhost:3000
FORUM_LOCATION=https://forum.freecodecamp.org
NEWS_LOCATION=https://www.freecodecamp.org/news
RADIO_LOCATION=https://coderadio.freecodecamp.org
# ---------------------
# Build variants
# ---------------------
DEPLOYMENT_ENV=staging
FREECODECAMP_NODE_ENV=development
# Languages to build
CLIENT_LOCALE=english
CURRICULUM_LOCALE=english
# Show or hide WIP in progress challenges
SHOW_UPCOMING_CHANGES=false
SHOW_NEW_CURRICULUM=true
# ---------------------
# Debugging Mode Keys - these should not be used in production
# ---------------------
PEER=stuff
DEBUG=true
LOCAL_MOCK_AUTH=true
CODESEE=false
# ---------------------
# New API
# ---------------------
NODE_ENV=development
PORT=3000
FCC_ENABLE_SWAGGER_UI=true
FCC_ENABLE_DEV_LOGIN_MODE=true