From f83865212fcb6b1b70eb29331936e1b52b5d1379 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Tue, 29 Nov 2022 10:36:07 -0500 Subject: [PATCH] feat: Add a minimal yaml file for use with production.py Sometimes you just want to run a few paver or django commands without having to bring up the entire development stack. --- lms/envs/minimal.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lms/envs/minimal.yml diff --git a/lms/envs/minimal.yml b/lms/envs/minimal.yml new file mode 100644 index 000000000000..54c3bcea2610 --- /dev/null +++ b/lms/envs/minimal.yml @@ -0,0 +1,25 @@ +# 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: {} + +# For just the CMS +LMS_ROOT_URL: "http://localhost" +LMS_INTERNAL_ROOT_URL: "http://localhost"