Hi, I teach AP CS at a high school. This is my scenario:
I put starter code on a LMS (canvas/blackboard) site.
Student creates Eclipse Java project and links to external libraries
Student creates the Java class files, then copy pastes the starter code into the files.
Student works on assignment, but runs out of time at the end of class.
Student does one of three things:
- Copy code into email, and email themselves so they can continue work at home. (most common)
- Copy code into dropbox, then work on home
- Copy code into google dropbox
- Copy workspace to USB drive to take home.
Lots of problems with these:
- The time it takes to do these.
- Student mixes up which version of the file to take home. Sometimes they accidently copy the blank file and realize wrong one is on the dropbox/cloud.
- Student annoyed that they have to re-create the project on their home Eclipse installation.
I’ve created an organization, got approved for the private repos for students.
I guess I’m confused about the workflow of PR’s… It seems too complicated.
Can GitHub just do this?
- Student creates local repo on their desktops.
- Every time they save, I want it to commit changes to the local repo (can this happen?)
- When they close eclipse, I want it to do a final commit and then copy the repo to GitHub.
- When they go home, they run eclipse, and they can easily sync the newest version of their code into their eclipse workspace.
- When they are done, it syncs the code to GitHub.
- When they come back to the classroom, it syncs the newest version back into their classroom.
Is this at all possible? Where do I start?