Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

JupyterHub and GitHub

Setup

This setup gives JupyterHub access to your repositories on GitHub so that you can pull/push changes. The main benefit of this setup is that you can program and work collaboratively in any browser from any computer.

  1. Log in to https://jupyterhub.wm.edu with your W&M credentials

  2. If prompetd, select “Default Notebook (A Python3 SciPy Notebook)”

  3. Go to https://www.github.com/settings/tokens and create a personal access token.

    • Put “jupyterhub.wm.edu” for the note.

    • Under “Select scopes”, check the “repo” box.

    jupyter-notebook-usage
  4. Find the URL to your repo, e.g.,

jupyter-notebook-usage
  1. JupyterHub, Git tab, “Clone a Repository”, enter URL to repo, username and token.

jupyter-notebook-usage
  1. In the Launcher tab, click the “Python 3 (ipykernal)” button to create a Jupyter Notebook.

jupyter-notebook-usage

Git