Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Is there a way to install https://github.com/ibleducation/jupyter-edx-grader-xblock? #84
I did try, but was not sure how to implement. I am new to docker and edX. I ran into issues here with the database migration.
sudo su edxapp -s /bin/bash
could not find a work around for this.
What you need to do is to build a new openedx image that contains the required XBlock. The easiest way to do so is to fork
Be careful which branch you push your changes to: the image is built from the
Then, build the docker image:
And you can run it:
I'm sorry there is no easier way to do this, for now. I've been thinking about alternative, simpler solutions but haven't found any yet.
sorry for the late reply,
after more research it looks like this xblock will not run on the Hawthorn version. I loaded ubuntu 16.04 and the Ginkgo version and it allowed it to install, but still seemed to cause some errors. Something with django version 1.9. So I have scrapped this plugin completely until a possible upgrade in the future. So I am loading this version back onto a ubuntu 16.04 server.
It looks like they have made this available for the Hawthorne. ibleducation/jupyter-edx-grader-xblock#8
Would I use the same method described above for this previous issue, to give this another try. I did use the private.txt to pull the git+https://github.com/ibleducation/jupyter-edx-grader-xblock.git, I will still need to add the other information to the following:
/edx/app/edxapp/edx-platform/lms/urls.py /edx/app/edxapp/edx-platform/cms/urls.py Add the following to the bottom of each file: # Jupyter Graded XBlock Endpoints urlpatterns += ( url(r'^api/jupyter_graded/', include('xblock_jupyter_graded.rest.urls')), ) In the following two files: /edx/app/edxapp/edx-platform/lms/envs/common.py /edx/app/edxapp/edx-platform/cms/envs/common.py Add the following at the bottom of the INSTALLED_APPS section: # Jupyter Notebook Graded XBlock 'xblock_jupyter_graded',
Thanks I will give that a try when I get back home.…
On Sun, Jan 6, 2019, 1:32 PM Régis Behmo ***@***.*** wrote: Yes, this looks about right. Note that since you fork the edx-platform repository, you don't really need to modify the private.txt requirements file; instead, you can directly modify the edx-platform/requirements/ files. You decide :) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#84 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AQkaHJFV186h7sQbUqbVU5cUdFE6Gabqks5vAl1pgaJpZM4YLxaH> .