From dfbdb594868c4ca37f910974651fdcba087b1385 Mon Sep 17 00:00:00 2001 From: Jason Wesson Date: Wed, 29 Nov 2023 22:39:50 +0000 Subject: [PATCH] docs: add example env.config.js file --- example.env.config.js | 56 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 example.env.config.js diff --git a/example.env.config.js b/example.env.config.js new file mode 100644 index 000000000..6fd893ed9 --- /dev/null +++ b/example.env.config.js @@ -0,0 +1,56 @@ +module.exports = { + NODE_ENV: 'development', + NODE_PATH: './src', + PORT: 1996, + BASE_URL: 'localhost:1996', + LMS_BASE_URL: 'http://localhost:18000', + ECOMMERCE_BASE_URL: 'http://localhost:18130', + LOGIN_URL: 'http://localhost:18000/login', + LOGOUT_URL: 'http://localhost:18000/logout', + LOGO_URL: 'https://edx-cdn.org/v3/default/logo.svg', + LOGO_TRADEMARK_URL: 'https://edx-cdn.org/v3/default/logo-trademark.svg', + LOGO_WHITE_URL: 'https://edx-cdn.org/v3/default/logo-white.svg', + LOGO_POWERED_BY_OPEN_EDX_URL_SVG: 'https://edx-cdn.org/v3/stage/open-edx-tag.svg', + FAVICON_URL: 'https://edx-cdn.org/v3/default/favicon.ico', + CSRF_TOKEN_API_PATH: '/csrf/api/v1/token', + REFRESH_ACCESS_TOKEN_ENDPOINT: 'http://localhost:18000/login_refresh', + ACCESS_TOKEN_COOKIE_NAME: 'edx-jwt-cookie-header-payload', + USER_INFO_COOKIE_NAME: 'edx-user-info', + SITE_NAME: 'localhost', + DATA_API_BASE_URL: 'http://localhost:8000', + // LMS_CLIENT_ID should match the lms DOT client application in your LMS container + LMS_CLIENT_ID: 'login-service-client-id', + SEGMENT_KEY: '', + FEATURE_FLAGS: {}, + MARKETING_SITE_BASE_URL: 'http://localhost:18000', + SUPPORT_URL: 'http://localhost:18000/support', + CONTACT_URL: 'http://localhost:18000/contact', + OPEN_SOURCE_URL: 'http://localhost:18000/openedx', + TERMS_OF_SERVICE_URL: 'http://localhost:18000/terms-of-service', + PRIVACY_POLICY_URL: 'http://localhost:18000/privacy-policy', + FACEBOOK_URL: 'https://www.facebook.com', + TWITTER_URL: 'https://twitter.com', + YOU_TUBE_URL: 'https://www.youtube.com', + LINKED_IN_URL: 'https://www.linkedin.com', + REDDIT_URL: 'https://www.reddit.com', + APPLE_APP_STORE_URL: 'https://www.apple.com/ios/app-store/', + GOOGLE_PLAY_URL: 'https://play.google.com/store', + ENTERPRISE_MARKETING_URL: 'http://example.com', + ENTERPRISE_MARKETING_UTM_SOURCE: 'example.com', + ENTERPRISE_MARKETING_UTM_CAMPAIGN: 'example.com Referral', + ENTERPRISE_MARKETING_FOOTER_UTM_MEDIUM: 'Footer', + LEARNING_BASE_URL: 'http://localhost:2000', + SESSION_COOKIE_DOMAIN: 'localhost', + ZENDESK_KEY: '', + HOTJAR_APP_ID: '', + HOTJAR_VERSION: 6, + HOTJAR_DEBUG: '', + NEW_RELIC_APP_ID: '', + NEW_RELIC_LICENSE_KEY: '', + ACCOUNT_SETTINGS_URL: 'http://localhost:1997', + ACCOUNT_PROFILE_URL: 'http://localhost:1995', + ENABLE_NOTICES: '', + CAREER_LINK_URL: '', + OPTIMIZELY_FULL_STACK_SDK_KEY: '', + EXPERIMENT_08_23_VAN_PAINTED_DOOR: true, +};