A tool to facilitate the customization of an Openedx instance, adding commands and settings to have an easy-to-use and a ready-to-deploy in local or in development openedx distribution.
This PR aims to give Distro support to Redwood's release. Additionally, taking advantage of this maintenance effort, it was solved a found bug with the command 'enable themes' when the command was executed before, if was executed again it stayed frozen because if it was not sent a 'yes', the command could not override the previous created folder.
Testing instructions
Create a Redwood environment with Tutor MFE installed and enabled
Install Distro using this branch pip install git+https://github.com/eduNEXT/tutor-contrib-edunext-distro@bc/add-redwood-support and enable it tutor plugins enable distro
Add this to the config.yml and run tutor config save
Verify the 2 first commands ran without showing errors and for the last one verify that the commands from DISTRO_EXTRA_COMMANDS in the config.yml are executed properly.; in this case will be run 2 Distro commands:
tutor distro enable-themes: you should find a folder ednx-saas-themes at env/build/openedx/themes
tutor distro enable-private-packages you should find a folder eox-manage at env/build/openedx/requirements
Then start the environment in local mode tutor local start to confirm everything goes as expected:
Create a new route local.edly.io with this tenant configs:
You should watch a customized environment not only in the base platform but also in the MFEs (are used the redwood branches that can use css-variables)
Description
This PR aims to give Distro support to Redwood's release. Additionally, taking advantage of this maintenance effort, it was solved a found bug with the command 'enable themes' when the command was executed before, if was executed again it stayed frozen because if it was not sent a 'yes', the command could not override the previous created folder.
Testing instructions
pip install git+https://github.com/eduNEXT/tutor-contrib-edunext-distro@bc/add-redwood-support
and enable ittutor plugins enable distro
config.yml
and runtutor config save
config.yml
are executed properly.; in this case will be run 2 Distro commands:tutor distro enable-themes
: you should find a folder ednx-saas-themes atenv/build/openedx/themes
tutor distro enable-private-packages
you should find a folder eox-manage atenv/build/openedx/requirements
tutor local start
to confirm everything goes as expected:local.edly.io
with this tenant configs:Additional information
JIRA ISSUE DS-1007