Skip to content

Commit

Permalink
Use listing for hubs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanlovett committed Aug 11, 2024
1 parent 66caae3 commit 2bf0a31
Show file tree
Hide file tree
Showing 13 changed files with 127 additions and 104 deletions.
4 changes: 0 additions & 4 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ website:
- admins/howto/clusterswitch.qmd
- admins/howto/github-token.qmd
- admins/howto/google-sheets.qmd
- section: "Hub Deployments"
contents:
- admins/deployments/datahub.qmd
- admins/deployments/stat159.qmd
- section: "Policy"
contents:
- policy/create_policy.qmd
Expand Down
22 changes: 0 additions & 22 deletions docs/admins/deployments/datahub.qmd

This file was deleted.

3 changes: 0 additions & 3 deletions docs/admins/deployments/index.qmd

This file was deleted.

81 changes: 13 additions & 68 deletions docs/users/hubs.qmd
Original file line number Diff line number Diff line change
@@ -1,70 +1,15 @@
---
title: JupyterHubs in this repository
title: JupyterHub Deployments
listing:
categories: true
contents:
- "hubs/datahub.qmd"
- "hubs/data100.qmd"
- "hubs/data102.qmd"
- "hubs/edx.qmd"
- "hubs/prob140.qmd"
- "hubs/r.qmd"
- "hubs/shiny.qmd"
- "hubs/stat159.qmd"
- "hubs/stat20.qmd"
---

## DataHub

[datahub.berkeley.edu](https://datahub.berkeley.edu) is the \'main\'
JupyterHub for use on UC Berkeley campus. It\'s the largest and most
active hub. It has many Python & R packages installed.

It runs on [Google Cloud Platform](https://cloud.google.com) in the
`ucb-datahub-2018` project. You can see all config for it under
`deployments/datahub`.

### Classes

- The big [data8](http://data8.org/) class.
- Active [connector
courses](https://data.berkeley.edu/education/connectors)
- [Data Science Modules](https://data.berkeley.edu/education/modules)
- [Astro
128/256](https://astro.berkeley.edu/course-information/3958209-astronomy-data-science-laboratory)

This hub is also the \'default\' when folks wanna use a hub for a short
period of time for any reason without super specific requirements.

## Prob140 Hub

A hub specifically for [prob140](http://prob140.org/). Some of the admin
users on `hubs/datahub`{.interpreted-text role="ref"} are students in
prob140 - this would allow them to see the work of other prob140
students. Hence, this hub is separate until JupyterHub gains features
around restricting admin use.

It runs on [Google Cloud Platform](https://cloud.google.com) in the
`ucb-datahub-2018` project. You can see all config for it under
`deployments/prob140`.

## Data 100

This hub is for [Data 100](http://www.ds100.org/) which has a unique
user and grading environment. It runs on [Google Cloud
Platform](https://cloud.google.com) in the `ucb-datahub-2018` account.
You can see all config for it under `deployments/data100`.

Data100 also has shared folders between staff (professors and GSIs) and
students. Staff, assuming they have been added as admins in
`config/common.yaml`, can see a `shared` and a `shared-readwrite`
folder. Students can only see the `shared` folder, which is read-only.
Anything that gets put in `shared-readwrite` is automatically viewable
in `shared`, but as read-only files. The purpose of this is to be able
to share large data files instead of having one per student.

## Data 102

Data 102 runs on [Google Cloud Platform](https://cloud.google.com) in the
`ucb-datahub-2018` project. You can see all config for it under
`deployments/data102`.

## Data8X Hub

A hub for the [data8x course on
EdX](https://www.edx.org/professional-certificate/berkeleyx-foundations-of-data-science).
This hub is open to use by anyone in the world, using [LTI
Authentication](https://github.com/jupyterhub/ltiauthenticator) to
provide login capability from inside EdX.

It runs on [Google Cloud Platform](https://cloud.google.com) in the
`data8x-scratch` project. You can see all config for it under
`deployments/data8x`.
17 changes: 17 additions & 0 deletions docs/users/hubs/data100.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Data 100
categories:
- jupyterlab
- otter-grader
- shared-folders
---

This hub is for [Data 100](http://www.ds100.org/) which has a unique
user and grading environment.

Data100 has shared folders between staff (professors and GSIs) and
students. Course staff can see a `shared` and a `shared-readwrite`
folder. Students can only see the `shared` folder, which is read-only.
Anything that gets put in `shared-readwrite` is automatically viewable
in `shared`, but as read-only files. The purpose of this is to be able
to share large data files instead of having one per student.
14 changes: 14 additions & 0 deletions docs/users/hubs/data102.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Data 102
categories:
- jupyterlab
- otter-grader
- shared-folders
---

This hub is for [Data 102](http://www.ds102.org/) which has a unique
user and grading environment.

Data 102 runs on [Google Cloud Platform](https://cloud.google.com) in the
`ucb-datahub-2018` project. You can see all config for it under
`deployments/data102`.
20 changes: 20 additions & 0 deletions docs/users/hubs/datahub.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: DataHub
categories:
- jupyterlab
- r
- vscode
aliases:
- ../admins/deployments/datahub.html
---

[datahub.berkeley.edu](https://datahub.berkeley.edu) is the *main* JupyterHub
for use at UC Berkeley. It is the largest and most active hub, and provides a
standard computing environment to many foundational courses across diverse
disciplines.

## Image

The datahub image contains both Python and R environments. A user can
create jupyter notebooks utilizing either Python or R, or can run
RStudio using R or Python.
15 changes: 15 additions & 0 deletions docs/users/hubs/edx.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Data 8X
categories:
- jupyterlab
- ltiauthenticator
---

This hub is for the [data8x course on EdX](https://www.edx.org/professional-certificate/berkeleyx-foundations-of-data-science).
It is open to use by anyone in the world, using [LTI
Authentication](https://github.com/jupyterhub/ltiauthenticator) to
provide login capability from inside EdX.

It runs on [Google Cloud Platform](https://cloud.google.com) in the
`data8x-scratch` project. You can see all config for it under
`deployments/data8x`.
11 changes: 11 additions & 0 deletions docs/users/hubs/prob140.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Prob 140
categories:
- jupyterlab
- vscode
---

Prob 140 hub exists to isolate student files from the main hub. Some students
in this course might be course staff in another course, or vice versa, so we
isolate their home directories through this hub. It uses the same singleuser
docker image as the main hub.
10 changes: 10 additions & 0 deletions docs/users/hubs/r.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: R
categories:
- jupyterlab
- r
- rstudio
- vscode
---

[r.datahub.berkeley.edu](https://r.datahub.berkeley.edu) uses the same user environment as the main datahub, however it launches RStudio by default instead of JupyterLab. As with the main datahub, people can use R or Python in either authoring environment.
9 changes: 9 additions & 0 deletions docs/users/hubs/shiny.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Shiny
categories:
- r
- rstudio
- shiny
---

[r.datahub.berkeley.edu](https://r.datahub.berkeley.edu) uses the same user environment as the main datahub, however it launches RStudio by default instead of JupyterLab. As with the main datahub, people can use R or Python in either authoring environment.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
---
title: Stat 159
categories:
- jupyterlab
- rtc
- vscode
aliases:
- ../admins/deployments/stat159.html
---

stat159.datahub.berkeley.edu is a course-specific hub for Stat 159 as
Expand Down Expand Up @@ -71,10 +77,3 @@ CanvasAuthenticator can remain in charge of managing groups. This will
be important for the extremely large courses. It will also be beneficial
in that resource allocation can be performed more easily through group
affiliations and group properties.

## Historical Information

The image has been periodically shared with data100 for when Fernando
has taught both. Going forward, it is probably best to keep them
separate and optionally kept in sync. We don\'t want changes in one
course to come as a surprise to the other.
12 changes: 12 additions & 0 deletions docs/users/hubs/stat20.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Stat 20
categories:
- jupyterlab
- quarto
- rstudio
- shiny
---

stat20.datahub.berkeley.edu is a course-specific hub for Stat 20 as
designed by Andrew Bray. It uses RStudio as the primary users interface
and students can use Quarto to author documents and Shiny to create web applications.

0 comments on commit 2bf0a31

Please sign in to comment.