From 29116a421012289c24aab4320fe238090804877b Mon Sep 17 00:00:00 2001 From: Manjila Singh Date: Wed, 5 Jun 2024 21:32:42 +0100 Subject: [PATCH] Added push.md --- .../ciroh jupyterhub/documentation/index.md | 45 +++++++++++++++++++ .../ciroh jupyterhub/documentation/push.md | 32 +++++++++++++ .../cloudservices/ciroh jupyterhub/index.md | 34 -------------- 3 files changed, 77 insertions(+), 34 deletions(-) create mode 100644 docs/services/cloudservices/ciroh jupyterhub/documentation/index.md create mode 100644 docs/services/cloudservices/ciroh jupyterhub/documentation/push.md diff --git a/docs/services/cloudservices/ciroh jupyterhub/documentation/index.md b/docs/services/cloudservices/ciroh jupyterhub/documentation/index.md new file mode 100644 index 0000000..47c8069 --- /dev/null +++ b/docs/services/cloudservices/ciroh jupyterhub/documentation/index.md @@ -0,0 +1,45 @@ +--- +sidebar_position: 1 +title: "Documentation and Tutorials" +description: "2i2c JupyterHub is a cloud-based JupyterHub environment specifically designed for hydrological researchers. It is powered by 2i2c JupyterHub, a cloud-based JupyterHub environment specifically on Google Cloud" +tags: + - 2i2c + - JupyterHub + - GCP + - notebook +--- + + +### 2i2c JupyterHub details: + +:::info +[2i2c JupyterHub](https://2i2c.org/) +::: + +### 2i2c JupyterHub Documentation and Tutorials: + +:::info +[2i2c Docs](https://docs.2i2c.org/) +::: + +### 2i2c JupyterHub Infrastructure Documentation: + +:::info +[2i2c Infrastructure Docs](https://infrastructure.2i2c.org/) +::: + +### awi-ciroh-image repository on 2i2c GitHub: + +:::info +[Github URL for AWI-CIROH 2i2c Hub Image](https://github.com/2i2c-org/awi-ciroh-image) +::: + +:::note +For any other questions, please email us at **ciroh-it-admin@ua.edu** with detailed information. +::: + +------------------------------------------------ + +import DocCardList from '@theme/DocCardList'; + + diff --git a/docs/services/cloudservices/ciroh jupyterhub/documentation/push.md b/docs/services/cloudservices/ciroh jupyterhub/documentation/push.md new file mode 100644 index 0000000..459d806 --- /dev/null +++ b/docs/services/cloudservices/ciroh jupyterhub/documentation/push.md @@ -0,0 +1,32 @@ +--- +sidebar_position: 2 +title: "Push from 2i2c JupyterHub to GitHub" +description: "2i2c JupyterHub is a cloud-based JupyterHub environment specifically designed for hydrological researchers. It is powered by 2i2c JupyterHub, a cloud-based JupyterHub environment specifically on Google Cloud" +tags: + - 2i2c + - JupyterHub + - GCP + - notebook + - GitHub + - tutorial +--- + +# A Step-by-Step Guide: Push Code to GitHub from 2i2c JupyterHub + +Follow these steps to allow 2i2c JupyterHub to push to GitHub repositories: + +- Install [CIROHJupyterHubGitHubPush](https://github.com/apps/cirohjupyterhubgithubpush) on your device by clicking on Install button. + +- Choose the repositories where you want to allow pushing from 2i2c. + +- Open a terminal on JupyterHub and run: + +```bash +gh-scoped-creds --client-id Iv23lixIgj0sAZqz98bH +``` +### You can also follow along with this [video tutorial](https://youtu.be/t6WkSpYDiaA) that walks you through the same process visually. + + + + + \ No newline at end of file diff --git a/docs/services/cloudservices/ciroh jupyterhub/index.md b/docs/services/cloudservices/ciroh jupyterhub/index.md index 0bfb78a..2360a7b 100644 --- a/docs/services/cloudservices/ciroh jupyterhub/index.md +++ b/docs/services/cloudservices/ciroh jupyterhub/index.md @@ -87,37 +87,3 @@ _____ This reworded version emphasizes the collaboration between CIROH and 2i2c, highlights the benefits specifically for hydrological researchers, and clarifies the role of Google Cloud. - -### 2i2c JupyterHub details: - -:::info -[2i2c JupyterHub](https://2i2c.org/) -::: - -### 2i2c JupyterHub Documentation and Tutorials: - -:::info -[2i2c Docs](https://docs.2i2c.org/) -::: - -### 2i2c JupyterHub Infrastructure Documentation: - -:::info -[2i2c Infrastructure Docs](https://infrastructure.2i2c.org/) -::: - -### awi-ciroh-image repository on 2i2c GitHub: - -:::info -[Github URL for AWI-CIROH 2i2c Hub Image](https://github.com/2i2c-org/awi-ciroh-image) -::: - -:::note -For any other questions, please email us at **ciroh-it-admin@ua.edu** with detailed information. -::: - ------------------------------------------------- - -import DocCardList from '@theme/DocCardList'; - -