Skip to main content
Github <> JupyterHub
S
Written by Satya Singh
Updated over a year ago

Pre Requisite

  • Github account

  • Scispot account with JupyterHub enabled

  • Scispot account with Github integration enabled

Functionality

  • Customers with JupyterHub access have the option to sync scripts stored in JupyterHub with a Github repository

  • 1 Github repository will contain a copy of the scripts stored in JupyterHub

  • Every 10 minutes JupyterHub syncs will occur to update any changes in JupyterHub with your Github repository

  • Only 1 Github repository can be synced with your JupyterHub scripts


Steps to Sync Jupyter Hub with a Github Repo

  • Go to App Store and click the Github card

  • Add a github connector

  • Copy the ENTIRE SSH key displayed in the modal. If it says "No public SSH key found" please contact your account manager to activate your GIthub sync functionality.

  • In your Github account, click the Github account settings icon in the top right corner

  • Click the settings page

  • Click the SSH and GPG keys page

  • Click new SSH key to your Github account

  • Name the SSH key "Scispot" and paste the ssh key into the key input. After, click "Add SSH key"

  • Confirm SSH key creation with your Github account password

  • Create an empty Github repo in your GIthub account.

  • Set the repository to Private and choose any name for the repository. After configuring click Create Repository.

  • Click the SSH button beside the link

  • Copy the SSH url

  • Paste the SSH url into the Git Repo SSH Url field in the Github Integration modal in Labsheets

  • Click Confirm to sync your JupyterHub scripts with your Git Repo. Now changes in your JupyterHub scripts will be displayed in your Github repository.

Did this answer your question?