-
Notifications
You must be signed in to change notification settings - Fork 9
[DO NOT MERGE] feat: enable marketing site feature in CMS and LMS configurations #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
b20277b
b6bb4cd
10c6ba7
51643be
70256f3
63032f6
b96cdad
fba9cd3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -280,6 +280,7 @@ ELASTIC_SEARCH_CONFIG: | |||||||
- host: edx.devstack.elasticsearch | ||||||||
port: 9200 | ||||||||
use_ssl: false | ||||||||
ENABLE_MKTG_SITE: true | ||||||||
EMAIL_BACKEND: django.core.mail.backends.smtp.EmailBackend | ||||||||
EMAIL_HOST: localhost | ||||||||
EMAIL_HOST_PASSWORD: '' | ||||||||
|
@@ -315,7 +316,6 @@ FEATURES: | |||||||
ENABLE_EXPORT_GIT: false | ||||||||
ENABLE_GRADE_DOWNLOADS: true | ||||||||
ENABLE_LTI_PROVIDER: false | ||||||||
ENABLE_MKTG_SITE: false | ||||||||
ENABLE_MOBILE_REST_API: false | ||||||||
ENABLE_OAUTH2_PROVIDER: false | ||||||||
ENABLE_PUBLISHER: false | ||||||||
|
@@ -382,8 +382,16 @@ LOG_DIR: /edx/var/log/edx | |||||||
MAINTENANCE_BANNER_TEXT: Sample banner message | ||||||||
MEDIA_ROOT: /edx/var/edxapp/media/ | ||||||||
MEDIA_URL: /media/ | ||||||||
MKTG_URLS: {} | ||||||||
MKTG_URL_LINK_MAP: {} | ||||||||
MKTG_URLS: | ||||||||
ROOT: http://localhost:18010 | ||||||||
robrap marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I know this was asked elsewhere, but There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ROOT: '' (empty string) does not work as it requires a non-empty value for ROOT in MKTG_URLS. If you set it to an empty string, you’ll get errors. That’s why we use ROOT: http://localhost:18010 for devstack Uses the same LMS instance for both learning and marketing pages ROOT: http://localhost:18000 points marketing URLs back to the LMS itself Keep the configurations different as they are designed for different use cases. The devstack configuration allows you to test marketing site integration during development, while the sandbox configuration provides a simpler setup for basic testing.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The ROOT URL uses port 18010, but this appears to be a hardcoded localhost development URL. Consider using an environment variable or configuration parameter to make this configurable across different environments.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||
ABOUT: /about | ||||||||
CONTACT: /contact | ||||||||
FAQ: /help | ||||||||
COURSES: /course | ||||||||
TOS: /edx-terms-service | ||||||||
HONOR: /honor | ||||||||
PRIVACY: /privacy | ||||||||
WHAT_IS_VERIFIED_CERT: /verified-certificate | ||||||||
MOBILE_STORE_ACE_URLS: {} | ||||||||
MODULESTORE: | ||||||||
default: | ||||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -304,6 +304,7 @@ ELASTIC_SEARCH_CONFIG: | |||||
- host: edx.devstack.elasticsearch | ||||||
port: 9200 | ||||||
use_ssl: false | ||||||
ENABLE_MKTG_SITE: true | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove trailing whitespace after 'true'.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
EMAIL_BACKEND: django.core.mail.backends.smtp.EmailBackend | ||||||
EMAIL_HOST: localhost | ||||||
EMAIL_HOST_PASSWORD: '' | ||||||
|
@@ -346,7 +347,6 @@ FEATURES: | |||||
ENABLE_EXPORT_GIT: false | ||||||
ENABLE_GRADE_DOWNLOADS: true | ||||||
ENABLE_LTI_PROVIDER: false | ||||||
ENABLE_MKTG_SITE: false | ||||||
ENABLE_MOBILE_REST_API: false | ||||||
ENABLE_OAUTH2_PROVIDER: false | ||||||
ENABLE_PUBLISHER: false | ||||||
|
@@ -422,8 +422,16 @@ MAILCHIMP_NEW_USER_LIST_ID: null | |||||
MAINTENANCE_BANNER_TEXT: Sample banner message | ||||||
MEDIA_ROOT: /edx/var/edxapp/media/ | ||||||
MEDIA_URL: /media/ | ||||||
MKTG_URLS: {} | ||||||
MKTG_URL_LINK_MAP: {} | ||||||
MKTG_URLS: | ||||||
ROOT: http://localhost:18000 | ||||||
robrap marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The ROOT URL uses port 18000, but this appears to be a hardcoded localhost development URL. Consider using an environment variable or configuration parameter to make this configurable across different environments.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
ABOUT: /about | ||||||
CONTACT: /contact | ||||||
FAQ: /help | ||||||
COURSES: /course | ||||||
TOS: /edx-terms-service | ||||||
HONOR: /honor | ||||||
PRIVACY: /privacy | ||||||
WHAT_IS_VERIFIED_CERT: /verified-certificate | ||||||
MOBILE_STORE_URLS: {} | ||||||
MODULESTORE: | ||||||
default: | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove trailing whitespace after 'true'.
Copilot uses AI. Check for mistakes.