Configure Jupyter Notebook Viewer with tutor

Hi all,

we are trying to install jupyter notebook viewer (https://github.com/ibleducation/jupyter-edx-viewer-xblock) with tutor but didn’t succeed. we are following the steps provided in https://docs.tutor.overhang.io/configuration.html#installing-extra-xblocks-and-requirements

As part of the jupyter notebook viewer installation steps, it need to edit * /edx/app/edxapp/edx-platform/lms/urls.py and /edx/app/edxapp/edx-platform/cms/urls.py . We are unable locate these files. If anyone have knowledge to install this, please share some inputs.

Hi @iamsumesh! You should know that you are not the first one to try to install the Jupyter viewer XBlock. See for instance:

The instructions listed in the xblock repo are for the native install, only. You will need to adapt those instructions to work with Tutor.

I believe you should open an issue on the xblock repo, asking to migrate to the Open edX plugin architecture – that way, you would not have to modify the urls.py files yourself. Take a look at the edx-platform documentation for reference: https://github.com/edx/edx-platform/blob/master/openedx/core/djangoapps/plugins/README.rst
The figures plugin is an application that implements this plugin architecture, for instance.

How did you go with this? Anything to share with the rest of us? :smiley: