Simplify edx-platform settings #36215
Labels
code health
Proactive technical investment via refactorings, removals, etc.
documentation
Relates to documentation improvements
epic
Large unit of work, consisting of multiple tasks
Intended final settings structure
openedx/envs/common.py: Defaults shared between LMS and CMS (new!).
lms/envs/common.py: LMS default settings. Wherever possible,
prod-ready values should be used; where not possible, obviously-incorrrect
values should be used.
$THIRD_PARTY/lms/production.py: Third-party providers (like edx.org) and
tools (like Tutor) will need to provide a custom setting settings file
derived from common.py in order to deploy LMS.
lms/envs/test.py: Override LMS settings for unit tests. Should work
in a local venv as well as in CI.
lms/envs/development.py: Override LMS settings so that it can run
"bare metal" directly on a developer's local machine using debug-friendly
settings. Will use
local.openedx.io
(which resolves to 127.0.0.1) asa base domain, which should be suitable for third-party tools as well.
Devstack) will need to provide a custom settings file derived from
development.py in orer to serve a local LMS.
cms/envs/common.py
$THIRD_PARTY/cms/production.py:
cms/envs/test.py
cms/envs/development.py
Tasks
derived_settings
to lazy load settings. #36124derive_settings
to lazy load settings. #36205Related / nice to have
Open questions
Potential Follow-on Work
The text was updated successfully, but these errors were encountered: