Skip to content

Commit

Permalink
Added more notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
balajialg committed Feb 6, 2024
1 parent b6f8a31 commit 19bb466
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions technology/instructor-activity.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
# Step by step instruction to launch a Jupyter Notebook in Datahub

## Option A
## Option 1

- Click this [link]() to launch a sample Jupyter notebook. This will clone a notebook to your Berkeley Jupyterhub home directory
- Execute the "iris.ipynb" notebook located inside "datahub_workshop_feb24" folder
- 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 sample Jupyter notebook. This will clone a notebook to your Berkeley Jupyterhub's home directory
- Execute the "iris.ipynb" notebook located inside "datahub_workshop_feb24" directory
- Download the notebook by selecting "File -> Download" option
- Login to your Github account or Create a new Github account
- Create a new Github repository
- Upload your notebooks to Github repository
- Install the nbgitpuller browser extension using this [link](https://ds-modules.github.io/curriculum-guide/workflow/distributing-notebooks.html?highlight=nbgitpuller#nbgitpuller-plugin). Follow the [following documentation]() to make the extension visible in your browser
- Upload the notebook to Github repository
- Install the nbgitpuller browser extension using this [link](https://ds-modules.github.io/curriculum-guide/workflow/distributing-notebooks.html?highlight=nbgitpuller#nbgitpuller-plugin). Follow the [following 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,
"JupyterHub URL": "https://datahub.berkeley.edu/",
"Open In": "Classic Notebook"
- Share the nbgitpuller link with another collaborator who is attending the workshop


## Option B
## Option 2

- 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/ account
- Launch a new notebook by selecting "Python 3 (ipykernel)" option from launcher
- Copy paste the code from the PDF to the new notebook
- 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
- Upload the notebook to Github repository
- Install the nbgitpuller browser extension using this [link](https://ds-modules.github.io/curriculum-guide/workflow/distributing-notebooks.html?highlight=nbgitpuller#nbgitpuller-plugin). Follow the [following 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,
"JupyterHub URL": "https://datahub.berkeley.edu/",
"Open In": "Classic Notebook"
- Share the nbgitpuller link with another collaborator who is attending the workshop


## Documentation

There is detailed [documentation](http://data8.org/datascience) available on Tables, Maps, and other components of the `datascience` package.

0 comments on commit 19bb466

Please sign in to comment.