Skip to content

Commit

Permalink
more edits
Browse files Browse the repository at this point in the history
  • Loading branch information
balajialg committed Feb 7, 2024
1 parent 051953c commit 3e874be
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions technology/instructor-activity.md
Original file line number Diff line number Diff line change
@@ -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/
Expand All @@ -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
Expand Down

0 comments on commit 3e874be

Please sign in to comment.