enterprise-catalog, license-manager, enterprise-access and enterprise-subsidy plugin for Tutor
pip install git+https://github.com/open-craft/tutor-contrib-enterprisecatalog
# This plugin depends on discovery, ecommerce and mfe tutor plugins
tutor plugins enable discovery ecommerce mfe enterprise-catalog
# Build required images
tutor images build enterprise-catalog enterprise-catalog-worker license-manager license-manager-worker license-manager-bulk-enrollment-worker enterprise-access enterprise-access-worker enterprise-subsidy mfe
# Finally start tutor using
# Development
tutor dev launch
# Production/local
tutor local launch
The tutor-ecommerce
plugin deploys two MFEs, i.e., frontend-app-ecommerce & frontend-app-payment and the git URL used in the palm version points to edx
organisation which should be replaced with openedx
. If you face this error while building images, please replace the edx
organisation slug with openedx
as shown here.
enterprise-catalog-1 | django.db.utils.OperationalError: (1045, "Access denied for user 'enterprisecatalog'@'172.18.0.21' (using password: YES)")
If you see above error while running tutor dev launch
, try again and it should work. We don't know the root cause of this issue yet.
Below configuration variables are required for this plugin to function.
ALGOLIA_APP_ID: **********
ALGOLIA_INDEX_NAME: enterprise-catalog
ALGOLIA_INDEX_NAME_JOBS: ****
ALGOLIA_SEARCH_API_KEY: ********************************
While using tutor in development mode, please add LMS_BASE_URL variable with appropriate host and port, for example:
LMS_BASE_URL: http://local.overhang.io:8000
Then rebuild mfe tutor image using tutor images build mfe
and launch tutor in dev mode using tutor dev launch
. This is workaround is required until the utility function called getProxyLoginUrl from frontend-app-logistration
component reads LMS_BASE_URL
from env instead of making use of mfe_config.
This software is licensed under the terms of the AGPLv3.