Helm chart for E-Quiz.
Build the docker image from the “docker” folder
Build the Jobeinabox image from https://github.com/dive4dec/jobeinabox
Push the images to localhost or dockerhub
Example of building the moodle image and push to localhost:
docker build --no-cache -t localhost:32000/bitnami_moodle_custom:test1 .
docker push localhost:32000/bitnami_moodle_custom:test1
Example of building the moodle image and push to dockerhub:
docker build --no-cache -t <dockerhub account>/<dockerhub repo>:<tag> .
docker push <dockerhub account>/<dockerhub repo>:<tag>
Go to helm-chart folder
Modify the following field in the helm_chart/values.yaml to your own Moodle and Jobeinabox image name, domain name, URL.
#Images
moodle.image.registry
moodle.image.repository
moodle.image.tag
Jobe.jobeImage
#Domain Name and URL
moolde.image.websiteUrl
moodle.ingress.hostname
moodle.ingress.path
Create a new namespace
kubectl create namespace my_namespace
Install a new helm release
sudo helm install release1 --debug . --values values.yaml --namespace=my_namespace
Access it at your configured url, please note that the moodle instance may takes few minutes to initialize.
After moodle is initialized, go to Site administration and perform the following configuration.
Go to Plugins->Authentication->Manage authentication, Enable LTI
Go to Plugins->Enrolments->Manage enrol plugins, Enable Publish as LTI tool
Go to Plugins->Question types->CodeRunner, Modify the field “Jobe server” to “jobe”, Modify the field “Jobe API-key” to be blank.
Go to General->Security->HTTP security, Modify the field “cURL blocked hosts list” to be blank.
Go to Plugins->Question types->STACK Modify the field “Maxima version” to the latest version (currently 5.44.0).