data-8 / zero-to-data-8

A quick guide to deploying your own Data 8 course
http://data8.org/zero-to-data-8
MIT License
26 stars 14 forks source link

Upgrading a jupyterhub instance #34

Closed gusennan closed 5 years ago

gusennan commented 5 years ago

Thank you for all the great materials you've been providing, both documentation and software. I came here from the website's FAQ. If I should be asking this question somewhere else, please let me know.

We're using the edX versions of the data-8 lectures for a course we're teaching in this fall. We've taught the course in the past and thus already have an instance of Jupyterhub running. While watching the edX lectures, I noticed that Berkeley's Jupyterhub had a submit button available for students to submit their assignments, while ours didn't. My guess is that this is due to a version difference between the two Jupyterhub instances, or some custom plugin Berkeley developed. We're running notebook server 5.6.0, whereas https://hub.data8x.berkeley.edu is running 5.7.3.

How does one go about upgrading Jupyterhub to the later versions? Do you have any insight into whether or not a later version contains this submit button that I refer to?

Thank you so much for any insight you may be able to provide.

choldgraf commented 5 years ago

hey there - thanks for reaching out!

I think that for general upgrading questions, your best bet is the Zero to JupyterHub guide: https://zero-to-jupyterhub.readthedocs.io/en/latest/upgrading.html

In this particular case, my intuition is that the "submit" button is more of a custom extension rather than a general JupyterHub feature. I don't believe that the ability to submit something is built into JupyterHub itself :-/

Maybe @ryanlovett or @yuvipanda would know more about the current configuration that results in the submit button?

ryanlovett commented 5 years ago

Hi @gusennan , do you have a link to the (video/screencast?) lecture that shows the submit button?

Based on your description I'd agree with @choldgraf that it is a feature of a notebook extension.

Edit: maybe gofer-submit?

gusennan commented 5 years ago

Hi, and thanks for the responses!

Sure, here's a link to the first lab in the "Foundations of Data Science: Computational Thinking with Python" course on edX. I'm not sure if that link will work for you though, just because it looks like my user ID is embedded in the URL, but the python notebook making reference to the submit button is here:

https://github.com/data-8/materials-x19/blob/master/materials/x19/lab/1/lab00/lab00.ipynb

I've attached an image of the submit button as well. Please let me know if I can provide any further information that would help, and thanks again!

hub data8x berkeley edu-header

ryanlovett commented 5 years ago

Yeah, that looks like gofer-submit.

Some other gofer-related projects: https://github.com/data-8?q=gofer

gusennan commented 5 years ago

Thanks so much for that information!