This repo contains the underlying infrastructure of CIS 1912. Feel free to poke around! If you want to learn more about how anything is configured just ask.
First, make sure all of the hws are unpublished in terraform/main.tf and that you have set the students variable (Most likely by using the TF_VAR_students environment variable in the form TF_VAR_students='["pennkey1","pennkey2"]').
- Run
terraform applywithin theterraformfolder. This will create all the course infrastructure needed. - On GitHub, manually invite students to the team named after their pennkey.
NOTE: Running terraform apply will ask for the following variables:
GF_GH_CLIENT_IDGF_GH_CLIENT_SECRETimage_pull_patinstructorsThey are provided by aterraform.tfvarsfile, and should be updated on a semester basis.
- Make sure any changes that need to be made to the homework are finalized.
- Within
terraform/main.tf, for thepublishedlocal changefalsetotruefor the homework that you want to release - Run
terraform apply
Make sure students know that their homework repos will be deleted at the end of the semester. Suggest using a private repo if they want to save any work from the course.
Make sure all homework assignments are marked as unpublished in terraform/main.tf and that your students variable is an empty set then run:
terraform apply