Skip to content

Commit

Permalink
deploy: 3e874be
Browse files Browse the repository at this point in the history
  • Loading branch information
balajialg committed Feb 7, 2024
1 parent da0a4cb commit 26552d2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
18 changes: 9 additions & 9 deletions _sources/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
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions technology/instructor-activity.html
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@ <h2> Contents </h2>
</div>
<nav aria-label="Page">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#option-1">Option 1 -</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#option-2">Option 2</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#option-1-nbgitpuller-way">Option 1 - nbgitpuller way</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#option-2-pdf-wag">Option 2 - PDF wag</a></li>
</ul>
</nav>
</div>
Expand All @@ -398,24 +398,24 @@ <h2> Contents </h2>

<section class="tex2jax_ignore mathjax_ignore" id="step-by-step-instruction-to-launch-a-jupyter-notebook-in-datahub">
<h1>Step by step instruction to launch a Jupyter Notebook in Datahub<a class="headerlink" href="#step-by-step-instruction-to-launch-a-jupyter-notebook-in-datahub" title="Permalink to this heading">#</a></h1>
<section id="option-1">
<h2>Option 1 -<a class="headerlink" href="#option-1" title="Permalink to this heading">#</a></h2>
<section id="option-1-nbgitpuller-way">
<h2>Option 1 - nbgitpuller way<a class="headerlink" href="#option-1-nbgitpuller-way" title="Permalink to this heading">#</a></h2>
<ul class="simple">
<li><p>Click this <a class="reference external" href="https://datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fds-modules%2FDatahub-Workshop&amp;branch=main&amp;urlpath=tree%2FDatahub-Workshop%2Firis.ipynb">link</a> to launch a Jupyter notebook. This will clone a repository containing a Jupyter notebook to your Berkeley Jupyterhub’s home directory.</p></li>
<li><p>Click this <a class="reference external" href="https://datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fds-modules%2FDatahub-Workshop&amp;branch=main&amp;urlpath=tree%2FDatahub-Workshop%2Firis.ipynb">link</a> to launch a Jupyter notebook. This will clone a repository containing a Jupyter notebook to the home directory of your Berkeley Jupyterhub account.</p></li>
<li><p>Execute all the cells in the “iris.ipynb” notebook which is located inside “datahub_workshop_feb24” directory</p></li>
<li><p>Download the notebook by selecting “File -&gt; Download” option</p></li>
<li><p>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)</p></li>
<li><p>Create a new Github repository (If you are new to Github, check this <a class="reference external" href="https://docs.github.com/en/repositories/creating-and-managing-repositories/quickstart-for-repositories">documentation</a> for detailed steps)</p></li>
<li><p>Upload the notebook to Github repository (Refer to this <a class="reference external" href="https://ds-modules.github.io/curriculum-guide/workflow/pushing-to-github.html?highlight=upload#using-the-web-interface">documentation</a> if required)</p></li>
<li><p>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)</p></li>
<li><p>Create a new Github repository (If you are new to Github, check this <a class="reference external" href="https://docs.github.com/en/repositories/creating-and-managing-repositories/quickstart-for-repositories">documentation</a> for detailed steps to create a repository)</p></li>
<li><p>Upload the notebook to Github repository (Refer to this <a class="reference external" href="https://ds-modules.github.io/curriculum-guide/workflow/pushing-to-github.html?highlight=upload#using-the-web-interface">documentation</a> if needed)</p></li>
<li><p>Install the nbgitpuller browser extension using this <a class="reference external" href="https://chromewebstore.google.com/detail/datahub-link-generator/lnaihiajhgbdabdnghflmjnamjkojpke?hl=en&amp;authuser=1">link</a>. Please follow the steps in the <a class="reference external" href="https://ds-modules.github.io/curriculum-guide/workflow/distributing-notebooks.html?highlight=nbgitpuller#nbgitpuller-plugin">documentation</a> to make the extension visible in your browser</p></li>
<li><p>Generate a new nbgitpuller link by entering the following details and clicking the button “Copy nbgitpuller link”
<li><p>Generate a new nbgitpuller link by entering the following details in the input fields and clicking the button “Copy nbgitpuller link”
“JupyterHub URL”: “<a class="reference external" href="https://datahub.berkeley.edu/">https://datahub.berkeley.edu/</a>”,
“Open In”: “Classic Notebook”</p></li>
<li><p>Share the nbgitpuller link with another collaborator who is attending the workshop</p></li>
</ul>
</section>
<section id="option-2">
<h2>Option 2<a class="headerlink" href="#option-2" title="Permalink to this heading">#</a></h2>
<section id="option-2-pdf-wag">
<h2>Option 2 - PDF wag<a class="headerlink" href="#option-2-pdf-wag" title="Permalink to this heading">#</a></h2>
<ul class="simple">
<li><p>Click this <a class="reference external" href="https://drive.google.com/drive/u/1/folders/12qOYTF3JELjBuofxsC4ktLBZFt2GD1TG">link</a> to download a PDF containing python code</p></li>
<li><p>Login to <a class="reference external" href="https://datahub.berkeley.edu/">https://datahub.berkeley.edu/</a></p></li>
Expand All @@ -424,9 +424,9 @@ <h2>Option 2<a class="headerlink" href="#option-2" title="Permalink to this head
<li><p>Save the notebook</p></li>
<li><p>Download the notebook by selecting “File -&gt; Download” option</p></li>
<li><p>Login to your Github account or Create a new Github account</p></li>
<li><p>Create a new Github repository (If you are new to Github, check this <a class="reference external" href="https://docs.github.com/en/repositories/creating-and-managing-repositories/quickstart-for-repositories">documentation</a> for detailed steps) - Upload the notebook to Github repository</p></li>
<li><p>Create a new Github repository (If you are new to Github, check this <a class="reference external" href="https://docs.github.com/en/repositories/creating-and-managing-repositories/quickstart-for-repositories">documentation</a> for detailed steps). Upload the downloaded notebook to this Github repository.</p></li>
<li><p>Install the nbgitpuller browser extension using this <a class="reference external" href="https://chromewebstore.google.com/detail/datahub-link-generator/lnaihiajhgbdabdnghflmjnamjkojpke?hl=en&amp;authuser=1">link</a>. Please follow the steps in the <a class="reference external" href="https://ds-modules.github.io/curriculum-guide/workflow/distributing-notebooks.html?highlight=nbgitpuller#nbgitpuller-plugin">documentation</a> to make the extension visible in your browser</p></li>
<li><p>Generate a new nbgitpuller link by entering the following details and clicking the button “Copy nbgitpuller link”
<li><p>Generate a new nbgitpuller link by entering the following details in the input fields and clicking the button “Copy nbgitpuller link”
“JupyterHub URL”: “<a class="reference external" href="https://datahub.berkeley.edu/">https://datahub.berkeley.edu/</a>”,
“Open In”: “Classic Notebook”</p></li>
<li><p>Share the nbgitpuller link with another collaborator who is attending the workshop</p></li>
Expand Down Expand Up @@ -501,8 +501,8 @@ <h2>Option 2<a class="headerlink" href="#option-2" title="Permalink to this head
</div>
<nav class="bd-toc-nav page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#option-1">Option 1 -</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#option-2">Option 2</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#option-1-nbgitpuller-way">Option 1 - nbgitpuller way</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#option-2-pdf-wag">Option 2 - PDF wag</a></li>
</ul>
</nav></div>

Expand Down

0 comments on commit 26552d2

Please sign in to comment.