Setup:
Create a file .env
in this directory. Contents:
GH_TOKEN=....
NETLIFY_TOKEN=...
STAFF_TEAM_SLUG=slug of team for staff for that year
How to create team repos for this class:
- Create a personal access token for GitHub, put in .env . Create a personal access token for Netlify, put in .env
- Create a new team on GitHub for staff, note the name //Manual, todo
- Get a CSV with teams and names //Manual, todo
- Create empty private repos programatically on GitHub, use pattern (semester)-(year)-team(teamnumber) //Automate, not yet implemented
- Invite students to collaborate on those repos //Automate, not yet implmeneted
- Add the staff team as a member of each repo //Call
inviteToNetlify
- Create netlify projects to mirror GitHub projects //Call
syncSitesWithNetlify
- Invite students to netlify projects //Call
inviteToNetlify
After releasing solution for IP2:
- Take the starter code repo (solution to IP2?), add each team as a remote
- Push from local starter code repo to each team's remote