From 3e874be48911d41731c86a9bdfe0d69b217b905a Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Tue, 6 Feb 2024 21:29:08 -0800 Subject: [PATCH] more edits --- technology/instructor-activity.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/technology/instructor-activity.md b/technology/instructor-activity.md index 693bb1ec..640726a6 100644 --- a/technology/instructor-activity.md +++ b/technology/instructor-activity.md @@ -1,21 +1,21 @@ # Step by step instruction to launch a Jupyter Notebook in Datahub -## Option 1 - +## Option 1 - nbgitpuller way -- Click this [link](https://datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fds-modules%2FDatahub-Workshop&branch=main&urlpath=tree%2FDatahub-Workshop%2Firis.ipynb) to launch a Jupyter notebook. This will clone a repository containing a Jupyter notebook to your Berkeley Jupyterhub's home directory. +- Click this [link](https://datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fds-modules%2FDatahub-Workshop&branch=main&urlpath=tree%2FDatahub-Workshop%2Firis.ipynb) to launch a Jupyter notebook. This will clone a repository containing a Jupyter notebook to the home directory of your Berkeley Jupyterhub account. - Execute all the cells in the "iris.ipynb" notebook which is located inside "datahub_workshop_feb24" directory - Download the notebook by selecting "File -> Download" option -- Login to your Github account. Incase you don't have an account, Try creating a new Github account (or collaborate with someone who has a Github account) -- Create a new Github repository (If you are new to Github, check this [documentation](https://docs.github.com/en/repositories/creating-and-managing-repositories/quickstart-for-repositories) for detailed steps) -- Upload the notebook to Github repository (Refer to this [documentation](https://ds-modules.github.io/curriculum-guide/workflow/pushing-to-github.html?highlight=upload#using-the-web-interface) if required) +- Login to your Github account. Incase you don't have an account, try creating a new Github account for the sake of this activity (or collaborate with someone who has a Github account) +- Create a new Github repository (If you are new to Github, check this [documentation](https://docs.github.com/en/repositories/creating-and-managing-repositories/quickstart-for-repositories) for detailed steps to create a repository) +- Upload the notebook to Github repository (Refer to this [documentation](https://ds-modules.github.io/curriculum-guide/workflow/pushing-to-github.html?highlight=upload#using-the-web-interface) if needed) - Install the nbgitpuller browser extension using this [link](https://chromewebstore.google.com/detail/datahub-link-generator/lnaihiajhgbdabdnghflmjnamjkojpke?hl=en&authuser=1). Please follow the steps in the [documentation](https://ds-modules.github.io/curriculum-guide/workflow/distributing-notebooks.html?highlight=nbgitpuller#nbgitpuller-plugin) to make the extension visible in your browser -- Generate a new nbgitpuller link by entering the following details and clicking the button "Copy nbgitpuller link" +- Generate a new nbgitpuller link by entering the following details in the input fields and clicking the button "Copy nbgitpuller link" "JupyterHub URL": "https://datahub.berkeley.edu/", "Open In": "Classic Notebook" - Share the nbgitpuller link with another collaborator who is attending the workshop -## Option 2 +## Option 2 - PDF wag - Click this [link](https://drive.google.com/drive/u/1/folders/12qOYTF3JELjBuofxsC4ktLBZFt2GD1TG) to download a PDF containing python code - Login to https://datahub.berkeley.edu/ @@ -24,9 +24,9 @@ - Save the notebook - Download the notebook by selecting "File -> Download" option - Login to your Github account or Create a new Github account -- Create a new Github repository (If you are new to Github, check this [documentation](https://docs.github.com/en/repositories/creating-and-managing-repositories/quickstart-for-repositories) for detailed steps) - Upload the notebook to Github repository +- Create a new Github repository (If you are new to Github, check this [documentation](https://docs.github.com/en/repositories/creating-and-managing-repositories/quickstart-for-repositories) for detailed steps). Upload the downloaded notebook to this Github repository. - Install the nbgitpuller browser extension using this [link](https://chromewebstore.google.com/detail/datahub-link-generator/lnaihiajhgbdabdnghflmjnamjkojpke?hl=en&authuser=1). Please follow the steps in the [documentation](https://ds-modules.github.io/curriculum-guide/workflow/distributing-notebooks.html?highlight=nbgitpuller#nbgitpuller-plugin) to make the extension visible in your browser -- Generate a new nbgitpuller link by entering the following details and clicking the button "Copy nbgitpuller link" +- Generate a new nbgitpuller link by entering the following details in the input fields and clicking the button "Copy nbgitpuller link" "JupyterHub URL": "https://datahub.berkeley.edu/", "Open In": "Classic Notebook" - Share the nbgitpuller link with another collaborator who is attending the workshop