XBlock installation with tutor 18.1.3?

Hi there,

We are evaluation openedx and trying to get up to speed on xblocks and plugins and mfes. As a start we want to deploy some of these components to see what we can build before venturing into developing our own components.

Its a bit confusing trying to get xblocks installed as it appears the documentation has not caught up to the latest way to do this with tutor.

From what we have learnt we need to:

  • download the xblock either as a tar.gz or via github clone to a director like ~/xblocks.
  • run “tutor mounts add xblocks ~/xblocks”
  • restart openedx with “tutor local restart”

Despite running these steps the xblock we wanted to test didn’t install or is not visible in the CMS.

Our understanding that the private.txt file with the “tutor images build” is no longer supported?

Please can someone let us know what the correct steps are to get an xblock installed?

Thanks

Hi @mxc,

tutor mounts will only make sense in tutor dev setups. For production with tutor local, you need to add your XBlock dependencies to OPENEDX_EXTRA_PIP_REQUIREMENTS and rebuild your openedx image.

Hope it helps!