Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.75 KB

meta.md

File metadata and controls

30 lines (22 loc) · 1.75 KB

Usage for teachers

Setup

  1. Clone this repository and push it to a new one (under your GitHub organization).
    • If you make a fork of this one instead, new pull requests from your students will default to going to this repository, rather than your copy.
  2. Enable Travis CI for this repository.
  3. Clear out the _data/ directory.
  4. Create a new directory for the current term/session/etc. with a .keep file in it, e.g. _data/SOME_TERM/.keep.
  5. Change the current_term in the _config.yml to match the new directory.
  6. Update the link in the repository description to be http://ORG.github.io/students.
  7. Ensure that the site appears.
  8. If you do a test with yourself, i.e. you place yourself in _data/SOME_TERM/youruser.json and push, be sure to then delete yourself again with a follow-up commit. If not, there will be your file in the fork of the students, your file will pass the tests, and there is no way of catching whether they placed the file in the right place.

In-class

  1. Have the students follow the instructions in the README.
  2. Leave comments on and merge some of the pull requests manually, so that they understand what's happening.

Later

  1. Create a new GitHub token.

  2. Run (with ORG and TERM replaced):

    TOKEN=... ORG=advanced-js TERM=students_2015 ruby bin/add_students.rb

which will merge the open pull requests on this repository, and add the students to the specified team.