Files
edx-platform/lms/envs/minimal.yml
Feanil Patel 0f975adc14 feat: Be able to login to bare-metal studio easily. (#35172)
* feat: Be able to login to bare-metal studio easily.

Updating the documentation and the devstack.py files so that if you're
running bare-metal you can easily setup studio login via the LMS.

I also added the Ports that the various MFEs expect to the runserver
scripts so that it's easier to run those locally as well.

Co-authored-by: Kyle McCormick <kyle@axim.org>
2024-09-20 08:51:51 -04:00

42 lines
1.5 KiB
YAML

# WARNING: Experimental
#
# This is the minimal settings you need to set to be able to get django to
# load when using the production.py settings files. It's useful to point
# LMS_CFG and CMS_CFG to this file to be able to run various paver commands
# without needing a full docker setup.
#
# Follow up work will likely be done as a part of
# https://github.com/openedx/wg-developer-experience/issues/136
---
SECRET_KEY: aseuothsaeotuhaseotisaotenihsaoetih
FEATURES:
PREVIEW_LMS_BASE: "http://localhost"
TRACKING_BACKENDS: {}
EVENT_TRACKING_BACKENDS: {}
JWT_AUTH: {}
CELERY_QUEUES: {}
MKTG_URL_LINK_MAP: {}
MKTG_URL_OVERRIDES: {}
REST_FRAMEWORK: {}
# We need MEDIA_ROOT because otherwise ./lms/djangoapps/certificates/migrations/0003_data__default_modes.py will fail.
#
# Using a local tmp location is not a good default for a production system. For production we should use
# off-machine storage to more easily scale the system.
MEDIA_ROOT: "/tmp/edx-platform/media/"
# DATA_DIR is overridden twice in ./lms/envs/common.py override it here temporarily until that's cleaned up and we
# can default to something dev friendly and have overrides in production.py for production friendly settings.
DATA_DIR: "/tmp/edx-platform/data_dir/"
# For just the CMS
LMS_ROOT_URL: "http://localhost"
LMS_INTERNAL_ROOT_URL: "http://localhost"
# So that Swagger config code doesn't complain
API_ACCESS_MANAGER_EMAIL: "api-access@example.com"
# So that you can login to studio on bare-metal
SOCIAL_AUTH_EDX_OAUTH2_URL_ROOT: 'http://localhost:18000'