Some scripts to help manage student repos created using the student-repo-template. It assumes you've already set up the repos in your org, and assumes each repo is named after the student's username.
Before you can use these scripts you'll need to fill in index.json
, students.json
and modules.json
with your class' data.
If your student repos are private, you will need to be authenticated from your computer to use these scripts.
Before running these scripts you will need to update index.json
, make sure it includes the userName
for your github organization and that the repoName
is the name of your class' home repo.
Then run these scripts:
node 1-clone-all.js
node 2-set-data.js
node 3-fetch-avatars.js
node 4-render-all.js
node 5-populate-modules.js
node 6-commit-and-push.js b=<branch> m=<commit-message>
<branch>
: defaults tomain
<commit-message>
: defaults toreviewed
node 7-pull-all.js
- check retrospectives, leave notes, whatever it is you're doing
node 6-commit-and-push.js b=<branch> m=<commit-message>
<branch>
: defaults tomain
<commit-message>
: defaults toreviewed