Instructor guide#
While this is meant as internal documentation for the instructor, others are welcome to read it.
JupyterHub
Adding/updating packages#
Modify
environment.yml
Run
./extras/scripts/update_packages.sh
Manually update the notebooks with interactivity
Update environment in JupyterHub
mamba env update --file extras/environment.lock.yml --prune
Slides#
While the lecture notes can be viewed as a plain notebook, they are also visible as slides.
Site#
The site is generated using JupyterBook and deployed to ReadTheDocs. Markdown (.md
) files and the files and folders that start with an underscore (_
) are related to JupyterBook.
nyu
branch#
Stage changes in Git, as they will be overwritten.
If on the
nyu
branch, run:./extras/scripts/school.sh <school> ./extras/scripts/build.sh
If on
main
or other branches, run:./extras/scripts/school_ci.sh <school>
Checking broken links#
Once the site is built, you can check broken links with:
ruby ./extras/scripts/broken_links.rb
Notebook cleanup#
To ensure that notebooks have the correct execution order and output, run them non-interactively.
./extras/scripts/update.sh <file>.ipynb
Start of class checklist#
Zoom
Start meeting
From the podium PC,
Join Meeting
If there’s a guest, make them a co-host
Ensure all the cameras are turned on
On laptop, mute mic and speakers
On Zoom Classroom, unmute mic
Confirm audio being received in Zoom
Share screen
Set phone to Do Not Disturb
Run lecture notebook
If first couple classes: take attendance for recording Academic Engagement
Data sets#
Canonical copies of data are in a Google Drive folder, synced locally with Google Drive for desktop. Data is then compressed and uploaded to a Google Cloud Storage bucket via Terraform. Descriptions of the data sets.