-
Notifications
You must be signed in to change notification settings - Fork 568
Question about using Classroom with JupyterHub #2533
Comments
👋 I'm unfamiliar with JupyterHub, do they have any sort of GitHub or VCS integration? Many tools that our professors use are able to pull directly from GitHub, and push straight back to GitHub when the student is done working. If not, there unfortunately isn't very much we can do on our end to help make that more efficient. |
Hi @paulnakroshis have you looked into nbgitpuller https://github.com/jupyterhub/nbgitpuller nbgitpuller lets you distribute content in a git repository to your students by having them click a simple link. :ref: |
@paulnakroshis here a nice little overview of how to use nbgitpuller http://tljh.jupyter.org/en/latest/howto/content/nbgitpuller.html student then simply upload or push their Notebooks to github classroom after completing any necessary changes. If you use the Jupyter Extension within VSCode you can do all the changes execution and git submits directly within the IDE see https://code.visualstudio.com/docs/python/jupyter-support |
D12, Leestott, Thanks for your feedback. One annoyance from a student's point of view is that when logged into our jupyterhub server and running a jupyter notebook (not the jupyterlab interface), the process of using GitHub classroom is complicated: I tried using nbgitpuller, but it does not work on a private repository. The problem with this scheme is step (e); as far as I can figure, I will have to either
Having just written this out, option 2 seems far preferable. Does this seem reasonable? The advantage of this, is that I can see the student's progress in terms of commits, and it is all made easier on their end because of the excellent jupyterlab-git extension. |
I think a third option is probably better: |
You can also make a post on the community forum and see if anyone else has build out a workflow for GitHub Classroom + JupyterHub: https://education.github.community/ We'll look into better supporting these tools in the future :) |
I am new to Github Classroom. Today I had my first class, and I made an assignment available to students in class. The procedure for using Github Classroom with Jupyterhub seems cumbersome, and I am wondering if there is a way around this.
Currently:
a) I make the assignment link available to students
b) they open the link, repo is cloned to their github account
c) they download the repo to their laptop, unzip it
d) they log onto our server
e) they upload the .ipynb file to the server, edit and save it, and then download it as an .ipynb file
f) then they upload it to their GitHub account.
This seems needlessly complex. Is there an easier way to do this?
The text was updated successfully, but these errors were encountered: