Summer online course using JupyterHub + nbgrader

210 views
Skip to first unread message

Shannon Quinn

unread,
Jun 2, 2016, 3:23:01 PM6/2/16
to Teaching with Jupyter Notebooks
Hi all,

Carol directed me to this group when we met at PyCon. I'm looking to use JupyterHub and nbgrader for an online summer course I'm creating at the University of Georgia (here's the syllabus I wrote for it http://cobweb.cs.uga.edu/~squinn/courses/su16/csci1360e/ ).

I've been using the jupyterhub-deploy-docker repo ( https://github.com/jupyterhub/jupyterhub-deploy-docker/ ) as a reference for setting up JupyterHub on Docker, and jupyterhub-deploy-teaching as a reference for combining JupyterHub and nbgrader ( https://github.com/jupyterhub/jupyterhub-deploy-teaching ); my question is, how would you suggest going about combining them?

For now I've been essentially manually integrating nbgrader into the running containerized JupyterHub server as one would on metal, but for the sake of full replicability (and ease of setup for future courses!) I'm wondering if anyone has any experience with this?

Thank you!!!

Shannon

MinRK

unread,
Jun 3, 2016, 4:49:31 AM6/3/16
to Shannon Quinn, Teaching with Jupyter Notebooks

On Thu, Jun 2, 2016 at 9:23 PM, Shannon Quinn <mag...@gmail.com> wrote:

Hi all,

Carol directed me to this group when we met at PyCon. I'm looking to use JupyterHub and nbgrader for an online summer course I'm creating at the University of Georgia (here's the syllabus I wrote for it http://cobweb.cs.uga.edu/~squinn/courses/su16/csci1360e/ ).

Welcome!


I've been using the jupyterhub-deploy-docker repo ( https://github.com/jupyterhub/jupyterhub-deploy-docker/ ) as a reference for setting up JupyterHub on Docker, and jupyterhub-deploy-teaching as a reference for combining JupyterHub and nbgrader ( https://github.com/jupyterhub/jupyterhub-deploy-teaching ); my question is, how would you suggest going about combining them?

We have separated the two a bit on purpose, because getting all of nbgrader’s functionality with docker can be more work to set up than we wanted to do in the examples. We are working on some new features in JupyterHub that should make it more manageable, though.


For now I've been essentially manually integrating nbgrader into the running containerized JupyterHub server as one would on metal, but for the sake of full replicability (and ease of setup for future courses!) I'm wondering if anyone has any experience with this?

The canonical deployment of JupyterHub by nbgrader’s author, Jessica Hamrick, does precisely this, and is online here. Jess can speak to exactly what changes are needed for nbgrader on docker. I believe it has to do with user IDs, permissions, and paths that are needed for assignment distribution that is the source of the most challenging bit.

-MinRK


Thank you!!!

Shannon

--
You received this message because you are subscribed to the Google Groups "Teaching with Jupyter Notebooks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-educat...@googlegroups.com.
To post to this group, send email to jupyter-...@googlegroups.com.
Visit this group at https://groups.google.com/group/jupyter-education.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter-education/6745413a-fceb-4546-be56-1f6a1d7b61f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shannon Quinn

unread,
Jun 6, 2016, 4:55:35 PM6/6/16
to Teaching with Jupyter Notebooks
Thanks very much!

You weren't kidding about the challenging part; I'm only using 1 machine (the class isn't very large), which already has an SSL cert (but no CA, as the server is on an internal university network), so with these points, I've had to deviate considerably from the provided install instructions, and consequently have not had much success. Furthermore, I'm not making use of any NFS, "merely" a logical partition of a local drive; however, in the future, I'm hoping that HDFS will fill this role (if that's possible).

I'm getting the feeling this deployment is a little overkill for my situation, and would take awhile to configure to function on my platform. As such, I've also spent some time on the jupyterhub-deploy-teaching reference, but am running into difficulties there as well--namely, heavily reconfiguring a workstation that is meant for individual use, in order to deploy JupyterHub + nbgrader. I'm currently working on setting up an isolated VM instead that can work for testing this.

Will update when I have the VM up and running. In the meantime, my main question is: would it be possible to deploy the jupyterhub-deploy framework in an environment where the hub and node servers are one and the same?

Shannon

Ozan Çağlayan

unread,
Jun 11, 2016, 4:41:38 PM6/11/16
to Shannon Quinn, Teaching with Jupyter Notebooks

Hi Shannon,

A while ago I've set up a jupyterhub VM (no docker) in my university and collected my installation steps into a repository:

https://github.com/ozancaglayan/jupyterhub-installation/

Maybe it'll help you.

Magsol

unread,
Jun 11, 2016, 4:54:59 PM6/11/16
to Ozan Çağlayan, Teaching with Jupyter Notebooks
Oh it has; I used that as a reference for setting mine up, in fact :) Thank you for the thorough documentation!

I'm still a little unclear regarding the hierarchy of nbgrader config files, and the resulting logging.
--
iPhone'd
Reply all
Reply to author
Forward
0 new messages