Configuring and managing multiple sites in a single Open edX installation is really tricky. To set up a custom site, there are configurations that need to be set in multiple services (LMS, Discovery, and eCommerce). And if we change some of these configurations in some service, we will need to remember to change them to other services as well. And there is some config that gets reset during deployment.
So we came up with some scripts that can do this automatically based on a configuration file. These scripts are meant to be run on an App Server. Because they use python env and Django models from those services.
The project can be found at - opencraft / dev / sites-generator · GitLab
config.yaml (sample) is meant to be tracked in Git (ex -
configuration-secure repositories). And rather than setting up Custom site config in multiple services, we specify them in this config file.
Full detailed documentation on how to use this can be found in the Readme.md file.
Ticket to log time - BB-4690