Install xblock Open edX tutor Quince

Dear Open edX community,

I’m trying to install H5P xblock in my production environment (Open edX tutor Quince 17.0.2). Until this version, xblocks contents were installed by adding “git+https://github.com/edly-io/h5pxblock.git” to the private.txt file and running tutor images build openedx.

Now, this feature has been depercated and I have to use “tutor mounts add” but I’m not sure how this works.

Somebody could help me?

Thanks.

best regards,
rax

Hi, adding your block to the mounts is for development mode.

If you want to add a git based requirement you can add it in your config.yml under

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

After this

perform following
tutor config save
tutor images build openedx

Or you can perform a short hand command
tutor config save --append OPENEDX_EXTRA_PIP_REQUIREMENTS=git+https://github.com/open-craft/xblock-poll.git
and then an image build

You can find the reference from here Install extra Xblocks and requirements

2 Likes

Hi @chintan ,

Thanks for your help.

1 Like