From 399114ad5b4f0cca4651d26666f076df616789a3 Mon Sep 17 00:00:00 2001 From: Claudio Acciaresi Date: Thu, 12 Dec 2019 09:28:19 -0300 Subject: [PATCH] Adding the ability to specify CMS or LMS specific features. --- tutor/templates/apps/openedx/config/cms.env.json | 1 + tutor/templates/apps/openedx/config/lms.env.json | 1 + 2 files changed, 2 insertions(+) diff --git a/tutor/templates/apps/openedx/config/cms.env.json b/tutor/templates/apps/openedx/config/cms.env.json index 6dec9d3..3e559ae 100644 --- a/tutor/templates/apps/openedx/config/cms.env.json +++ b/tutor/templates/apps/openedx/config/cms.env.json @@ -7,6 +7,7 @@ "PLATFORM_NAME": "{{ PLATFORM_NAME }}", "FEATURES": { {{ patch("common-env-features", separator=",\n", suffix=",")|indent(4) }} + {{ patch("cms-env-features", separator=",\n", suffix=",")|indent(4) }} "CERTIFICATES_HTML_VIEW": true, "PREVIEW_LMS_BASE": "preview.{{ LMS_HOST }}", "DISABLE_STUDIO_SSO_OVER_LMS": {{ "false" if ACTIVATE_HTTPS else "true" }}, diff --git a/tutor/templates/apps/openedx/config/lms.env.json b/tutor/templates/apps/openedx/config/lms.env.json index 14b0cda..16b6c83 100644 --- a/tutor/templates/apps/openedx/config/lms.env.json +++ b/tutor/templates/apps/openedx/config/lms.env.json @@ -7,6 +7,7 @@ "PLATFORM_NAME": "{{ PLATFORM_NAME }}", "FEATURES": { {{ patch("common-env-features", separator=",\n", suffix=",")|indent(4) }} + {{ patch("lms-env-features", separator=",\n", suffix=",")|indent(4) }} "CERTIFICATES_HTML_VIEW": true, "PREVIEW_LMS_BASE": "preview.{{ LMS_HOST }}", "ENABLE_COURSE_DISCOVERY": true,