feat: enable marketing site feature in CMS and LMS configurations#176
feat: enable marketing site feature in CMS and LMS configurations#176ktyagiapphelix2u merged 8 commits intomasterfrom
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR enables the marketing site feature in both CMS and LMS configurations by setting ENABLE_MKTG_SITE to true and adding comprehensive marketing URL mappings.
- Changes the default value of
ENABLE_MKTG_SITEfrom false to true in all configuration files - Adds marketing URL mappings for common pages (about, contact, FAQ, courses, etc.)
- Updates both Python and YAML configuration files to maintain consistency
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| py_configuration_files/lms.py | Changes default ENABLE_MARKETING_SITE environment variable from False to True |
| configuration_files/lms.yml | Enables MKTG_SITE feature and adds marketing URL mappings with localhost:18000 root |
| configuration_files/cms.yml | Enables MKTG_SITE feature and adds marketing URL mappings with localhost:18010 root |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
configuration_files/cms.yml
Outdated
| ENABLE_GRADE_DOWNLOADS: true | ||
| ENABLE_LTI_PROVIDER: false | ||
| ENABLE_MKTG_SITE: false | ||
| ENABLE_MKTG_SITE: true |
There was a problem hiding this comment.
I thought the FEATURES dict was going away and all of these were duplicated to top-level?
There was a problem hiding this comment.
i have fixed them and make them to their correct place
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| - host: edx.devstack.elasticsearch | ||
| port: 9200 | ||
| use_ssl: false | ||
| ENABLE_MKTG_SITE: true |
There was a problem hiding this comment.
Remove trailing whitespace after 'true'.
| ENABLE_MKTG_SITE: true | |
| ENABLE_MKTG_SITE: true |
| - host: edx.devstack.elasticsearch | ||
| port: 9200 | ||
| use_ssl: false | ||
| ENABLE_MKTG_SITE: true |
There was a problem hiding this comment.
Remove trailing whitespace after 'true'.
| ENABLE_MKTG_SITE: true | |
| ENABLE_MKTG_SITE: true |
| MKTG_URLS: {} | ||
| MKTG_URL_LINK_MAP: {} | ||
| MKTG_URLS: | ||
| ROOT: http://localhost:18000 |
There was a problem hiding this comment.
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.
| ROOT: http://localhost:18000 | |
| ROOT: ${MKTG_ROOT_URL:http://localhost:18000} |
Description
Adding MKTG_URLS Links In Configuration Files
Enabling ENABLE_MKTG_SITE: true
Related Ticket
BOMS 215