Closed dcoa closed 1 year ago
This PR creates a variable DISTRO_DISABLE_MFE to add waffle flags and use the frontend legacy (courseware).
DISTRO_DISABLE_MFE
By default DISTRO_DISABLE_MFE is false.
STRAIN_NAME: distromfe STRAIN_TUTOR_VERSION: v14.0.1 DEV_PROJECT_NAME: distromfe_dev LOCAL_PROJECT_NAME: distromfe_local STRAIN_TUTOR_PLUGINS: - REPO: tutor-contrib-edunext-distro VERSION: DS-263-disable-mfe-nuez EGG: tutor-contrib-edunext-distro==v3.0.0 PACKAGE_NAME: distro PROTOCOL: ssh DISTRO_DISABLE_MFE: true CMS_HOST: studio.nutmeg.edunext.link LMS_HOST: lms.nutmeg.edunext.link
stack strain <local | dev> configure
stack strain <local | dev> init
tutor <local | dev > createuser --staff --superuser admin admin@edunext.co
tutor <local | dev> importdemocourse
/admin/waffle/flag/
if you configure DISTRO_DISABLE_MFE: false and re-run stack strain <local | dev> init the flags have to be removed.
DISTRO_DISABLE_MFE: false
Add an option to disable the default MFE
Description
This PR creates a variable
DISTRO_DISABLE_MFE
to add waffle flags and use the frontend legacy (courseware).By default
DISTRO_DISABLE_MFE
is false.How to test
stack strain <local | dev> configure
to install plugin distro.stack strain <local | dev> init
, this step create the flags. You can see in the logs something liketutor <local | dev > createuser --staff --superuser admin admin@edunext.co
and import demo_coursetutor <local | dev> importdemocourse
/admin/waffle/flag/
you can see the waffle flags created.if you configure
DISTRO_DISABLE_MFE: false
and re-runstack strain <local | dev> init
the flags have to be removed.