2020-08-21 03:59:27 +05:30
|
|
|
# ---------------------
|
|
|
|
# API
|
|
|
|
# ---------------------
|
|
|
|
# Database
|
2018-09-27 20:45:50 +05:30
|
|
|
MONGOHQ_URL='mongodb://localhost:27017/freecodecamp'
|
|
|
|
|
2020-08-21 03:59:27 +05:30
|
|
|
# Logging
|
|
|
|
SENTRY_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
|
2019-03-07 13:57:15 +00:00
|
|
|
|
2020-08-21 03:59:27 +05:30
|
|
|
# Session, Cookie and JWT encryption strings
|
|
|
|
SESSION_SECRET=a_session_secret
|
|
|
|
COOKIE_SECRET=a_cookie_secret
|
|
|
|
JWT_SECRET=a_jwt_secret
|
2018-09-27 20:45:50 +05:30
|
|
|
|
2020-08-21 03:59:27 +05:30
|
|
|
# ---------------------
|
|
|
|
# Search
|
|
|
|
# ---------------------
|
|
|
|
# Client Search Bar
|
|
|
|
ALGOLIA_APP_ID=app_id_from_algolia_dashboard
|
|
|
|
ALGOLIA_API_KEY=api_key_from_algolia_dashboard
|
2018-09-27 20:45:50 +05:30
|
|
|
|
2020-08-21 03:59:27 +05:30
|
|
|
# ---------------------
|
|
|
|
# Donations
|
|
|
|
# ---------------------
|
|
|
|
# Stripe
|
2019-11-19 14:48:09 +05:30
|
|
|
STRIPE_CREATE_PLANS=true
|
|
|
|
STRIPE_PUBLIC_KEY=pk_from_stripe_dashboard
|
|
|
|
STRIPE_SECRET_KEY=sk_from_stripe_dashboard
|
2020-08-21 03:59:27 +05:30
|
|
|
# PayPal
|
2020-03-13 12:25:57 +03:00
|
|
|
PAYPAL_CLIENT_ID=id_from_paypal_dashboard
|
|
|
|
PAYPAL_SECRET=secret_from_paypal_dashboard
|
2020-03-16 14:32:35 +05:30
|
|
|
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
|
2018-09-27 20:45:50 +05:30
|
|
|
|
2020-08-21 03:59:27 +05:30
|
|
|
# ---------------------
|
|
|
|
# Build variants
|
|
|
|
# ---------------------
|
2020-11-27 16:32:50 +01:00
|
|
|
PIPELINE_ENV=false
|
2020-08-21 03:59:27 +05:30
|
|
|
DEPLOYMENT_ENV='staging'
|
|
|
|
FREECODECAMP_NODE_ENV='development'
|
|
|
|
# Language to build
|
|
|
|
LOCALE=english
|
|
|
|
# Show or hide WIP in progress challenges
|
2020-09-04 00:07:40 +02:00
|
|
|
SHOW_UPCOMING_CHANGES=false
|
2020-08-21 03:59:27 +05:30
|
|
|
# Application paths
|
2018-09-27 20:45:50 +05:30
|
|
|
HOME_LOCATION='http://localhost:8000'
|
|
|
|
API_LOCATION='http://localhost:3000'
|
2020-09-04 22:27:21 +06:00
|
|
|
FORUM_LOCATION='https://forum.freecodecamp.org'
|
|
|
|
NEWS_LOCATION='https://www.freecodecamp.org/news'
|
2019-10-07 16:42:07 -07:00
|
|
|
|
2020-08-21 03:59:27 +05:30
|
|
|
# ---------------------
|
|
|
|
# Debugging Mode Keys
|
|
|
|
# ---------------------
|
|
|
|
PEER=stuff
|
|
|
|
DEBUG=true
|
|
|
|
LOCAL_MOCK_AUTH=true
|
|
|
|
# Webhook proxy url from smee.io for PayPal
|
2020-03-17 16:14:58 +05:30
|
|
|
WEBHOOK_PROXY_URL=''
|