From 88a18535ea1fda366e512376c4e452e56b9f5e62 Mon Sep 17 00:00:00 2001 From: shane knapp Date: Tue, 22 Oct 2024 10:32:06 -0700 Subject: [PATCH] fix/update some links to requirements.txt in our repo --- docs/admins/howto/calendar-scaler.qmd | 2 +- docs/admins/howto/new-hub.qmd | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/admins/howto/calendar-scaler.qmd b/docs/admins/howto/calendar-scaler.qmd index 35ed93eb6..0f4bc2eb2 100644 --- a/docs/admins/howto/calendar-scaler.qmd +++ b/docs/admins/howto/calendar-scaler.qmd @@ -91,7 +91,7 @@ can run the following commands to create one: ``` bash conda create -ny scalertest python=3.11 -pip install -r requirements.txt +pip install -r images/node-placeholder-scaler/requirements.txt ``` Any changes to the scaler code will require you to run diff --git a/docs/admins/howto/new-hub.qmd b/docs/admins/howto/new-hub.qmd index 2b598ef9c..fa3a39869 100644 --- a/docs/admins/howto/new-hub.qmd +++ b/docs/admins/howto/new-hub.qmd @@ -9,7 +9,8 @@ aliases: The major reasons for making a new hub are: 1. A new course wants to join the Berkeley DataHub community. -2. One of your *students* are course staff in another course and have *elevated access*, enabling them to see other students' work. +2. One of your *students* are course staff in another course and have + *elevated access*, enabling them to see other students' work. 3. You want to use a different kind of authenticator. 4. You are running in a different cloud, or using a different billing account. @@ -25,11 +26,15 @@ Please let us know if you have some other justification for creating a new hub. Working installs of the following utilities: - - [sops](https://github.com/mozilla/sops/releases) - - [hubploy](https://hubploy.readthedocs.io/en/latest/index.html) + - [chartpress](https://pypi.org/project/chartpress/) + - [cookiecutter](https://pypi.org/project/cookiecutter/) - [gcloud](https://cloud.google.com/sdk/docs/install) + - [hubploy](https://github.com/berkeley-dsep-infra/hubploy) - [kubectl](https://kubernetes.io/docs/tasks/tools/) - - [cookiecutter](https://github.com/audreyr/cookiecutter) + - [sops](https://github.com/mozilla/sops/releases) + +The easiest way to install `chartpress`, `cookiecutter` and `hubploy` is to +run `pip install -r dev-requirements.txt` from the root of the `datahub` repo. Proper access to the following systems: @@ -53,7 +58,7 @@ will be required for the course. Typically, there are three general Small courses will usually have one or two assignments per semester, and may only have 20 or fewer users. -General courses have up to \~500 users, but don't have large amount of +General courses have up to ~500 users, but don't have large amount of data or require upgraded compute resources. Heavy usage courses can potentially have thousands of users, require