2020-08-20 22:29:27 +00:00
|
|
|
# ---------------------
|
|
|
|
# API
|
|
|
|
# ---------------------
|
2020-12-16 08:02:52 +00:00
|
|
|
|
2020-08-20 22:29:27 +00:00
|
|
|
# Database
|
2021-04-20 13:59:31 +00:00
|
|
|
MONGOHQ_URL=mongodb://localhost:27017/freecodecamp
|
2018-09-27 15:15:50 +00:00
|
|
|
|
2020-08-20 22:29:27 +00:00
|
|
|
# Logging
|
|
|
|
SENTRY_DSN=dsn_from_sentry_dashboard
|
2022-04-15 14:54:02 +00:00
|
|
|
SENTRY_CLIENT_DSN=dsn_from_sentry_dashboard
|
2021-04-20 13:59:31 +00:00
|
|
|
SENTRY_ENVIRONMENT=staging
|
2020-08-20 22:29:27 +00:00
|
|
|
|
|
|
|
# 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
|
2019-03-07 13:57:15 +00:00
|
|
|
|
2020-08-20 22:29:27 +00:00
|
|
|
# Session, Cookie and JWT encryption strings
|
|
|
|
SESSION_SECRET=a_session_secret
|
|
|
|
COOKIE_SECRET=a_cookie_secret
|
|
|
|
JWT_SECRET=a_jwt_secret
|
2018-09-27 15:15:50 +00:00
|
|
|
|
2020-08-20 22:29:27 +00:00
|
|
|
# ---------------------
|
|
|
|
# Search
|
|
|
|
# ---------------------
|
2020-12-16 08:02:52 +00:00
|
|
|
|
2020-08-20 22:29:27 +00:00
|
|
|
# Client Search Bar
|
|
|
|
ALGOLIA_APP_ID=app_id_from_algolia_dashboard
|
|
|
|
ALGOLIA_API_KEY=api_key_from_algolia_dashboard
|
2018-09-27 15:15:50 +00:00
|
|
|
|
2020-08-20 22:29:27 +00:00
|
|
|
# ---------------------
|
|
|
|
# Donations
|
|
|
|
# ---------------------
|
2020-12-16 08:02:52 +00:00
|
|
|
|
2021-08-08 20:22:25 +00:00
|
|
|
# Stripe
|
|
|
|
STRIPE_PUBLIC_KEY=pk_from_stripe_dashboard
|
|
|
|
STRIPE_SECRET_KEY=sk_from_stripe_dashboard
|
|
|
|
|
2020-08-20 22:29:27 +00:00
|
|
|
# PayPal
|
2020-03-13 09:25:57 +00:00
|
|
|
PAYPAL_CLIENT_ID=id_from_paypal_dashboard
|
|
|
|
PAYPAL_SECRET=secret_from_paypal_dashboard
|
2021-04-20 13:59:31 +00:00
|
|
|
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
|
2020-03-16 09:02:35 +00:00
|
|
|
PAYPAL_WEBHOOK_ID=webhook_id_from_paypal_dashboard
|
2018-09-27 15:15:50 +00:00
|
|
|
|
2021-11-04 16:06:24 +00:00
|
|
|
# Patreon
|
|
|
|
PATREON_CLIENT_ID=id_from_patreon_dashboard
|
|
|
|
|
2020-08-20 22:29:27 +00:00
|
|
|
# ---------------------
|
|
|
|
# Build variants
|
|
|
|
# ---------------------
|
2021-04-20 13:59:31 +00:00
|
|
|
DEPLOYMENT_ENV=staging
|
|
|
|
FREECODECAMP_NODE_ENV=development
|
2020-12-16 08:02:52 +00:00
|
|
|
|
|
|
|
# Languages to build
|
|
|
|
CLIENT_LOCALE=english
|
|
|
|
CURRICULUM_LOCALE=english
|
|
|
|
|
2020-08-20 22:29:27 +00:00
|
|
|
# Show or hide WIP in progress challenges
|
2020-09-03 22:07:40 +00:00
|
|
|
SHOW_UPCOMING_CHANGES=false
|
2022-02-10 15:39:12 +00:00
|
|
|
SHOW_NEW_CURRICULUM=true
|
2020-12-16 08:02:52 +00:00
|
|
|
|
2020-08-20 22:29:27 +00:00
|
|
|
# Application paths
|
2021-04-20 13:59:31 +00:00
|
|
|
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
|
2019-10-07 23:42:07 +00:00
|
|
|
|
2020-08-20 22:29:27 +00:00
|
|
|
# ---------------------
|
|
|
|
# Debugging Mode Keys
|
|
|
|
# ---------------------
|
2020-12-16 08:02:52 +00:00
|
|
|
|
2020-08-20 22:29:27 +00:00
|
|
|
PEER=stuff
|
|
|
|
DEBUG=true
|
|
|
|
LOCAL_MOCK_AUTH=true
|
2021-06-10 13:08:14 +00:00
|
|
|
CODESEE=false
|
2020-12-16 08:02:52 +00:00
|
|
|
|
2020-08-20 22:29:27 +00:00
|
|
|
# Webhook proxy url from smee.io for PayPal
|
2021-04-20 13:59:31 +00:00
|
|
|
WEBHOOK_PROXY_URL=
|