Install Xblock and currently Supported Xblock List in respect to Nutmeg

In this tutorial we are going to install Xblock and I will share list of xblock which are compatible with Nutmeg.
List of Xblock which are currently working fine with Nutmeg

For our Tutorial and for your refence we are installing H5P
Step 1. open config.yml file
sudo nano "$(tutor config printroot)/config.yml"

Step 2. Add these lines for my example i am installing H5p Xblock and for your refence I am adding few lines in the end

OPENEDX_EXTRA_PIP_REQUIREMENTS:
- "git+https://github.com/edly-io/h5pxblock.git"

Step3. Please add these settings via shell script.

echo "git+https://github.com/edly-io/h5pxblock.git" >> "$(tutor config printroot)/env/build/openedx/requirements/private.txt"

Step4. we have to build images of tutor
tutor images build openedx

Note: if you installed any xblock which is not compatible and giving error then if you build images it will give error for that I am suggesting please remove that particular github repo from nano "$(tutor config printroot)/config.yml" file and also from nano "$(tutor config printroot)/env/build/openedx/requirements/private.txt" and run command if that error shows again in build images then please run tutor images build all --no-cache.

Step 5. after that run this final command to run images
tutor local quickstart

In final step add these values in course advance settings in studio and in advance module list add values which is mentioned in xblock github page
[
“annotatable”,
“videoalpha”,
“openassessment”,
“h5pxblock”
]

I am requesting the whole community which xblock are updated please mention here so community have and idea about all xblock

1 Like

@Parvin_Kumar Thanks for this post. However, I think its better to get xblock installed from PYPI (released version) instead of github. Incase of h5p xblock it should be something like this

OPENEDX_EXTRA_PIP_REQUIREMENTS:
- "h5p-xblock"
1 Like