Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Building CS50 on GitHub
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
CS50
October 11, 2017
Education
1
660
Building CS50 on GitHub
CS50
October 11, 2017
Tweet
Share
More Decks by CS50
See All by CS50
Scaling CS50: Building Learning Communities around the World
cs50
1
68
Technology We Can’t Live Without!, revisited
cs50
0
220
A Web-Based IDE for Teaching with Any Language 2017
cs50
0
44
A Web-Based IDE for Teaching with Any Language 2016
cs50
0
41
Things We Do That You Can Do Too
cs50
1
790
Birds of a Feather Who'd Like to Share Software Together
cs50
2
270
CS50 Educator Workshop June 2017
cs50
2
280
This is CS50x.ni
cs50
1
140
CS50 a Escala
cs50
1
120
Other Decks in Education
See All in Education
Web 2.0 Patterns and Technologies - Lecture 8 - Web Technologies (1019888BNR)
signer
PRO
0
3.1k
The Next Big Step Toward Nuclear Disarmament
hide2kano
0
250
高校数学とJulia言語
shimizudan
0
130
1125
cbtlibrary
0
190
✅ レポート採点基準 / How Your Reports Are Assessed
yasslab
PRO
0
290
Multimodal Interaction - Lecture 3 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2k
東大1年生にJulia教えてみた
matsui_528
7
12k
Avoin jakaminen ja Creative Commons -lisenssit
matleenalaakso
0
2.1k
【洋書和訳:さよならを待つふたりのために】第2章 ガン特典と実存的フリースロー
yaginumatti
0
240
OSINT入門-CTF for GIRLS_SECCON14電脳会議
nomizone
0
570
The browser strikes back
jonoalderson
0
740
Introduction - Lecture 1 - Advanced Topics in Big Data (4023256FNR)
signer
PRO
2
2.2k
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Typedesign – Prime Four
hannesfritz
42
3k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
130
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
290
Building an army of robots
kneath
306
46k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
340
Designing Experiences People Love
moore
144
24k
Un-Boring Meetings
codingconduct
0
220
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
64
A better future with KSS
kneath
240
18k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
620
Transcript
Building CS50 on GitHub David J. Malan
[email protected]
slides at
cs50.ly/universe17
None
This is CS50 • CS50 ◦ 800 students at Harvard,
200 students at Yale • CS50x ◦ 1M registrants online • CS50 AP ◦ 150 high schools, 5,000 students
None
Problems Past • Developing apps • Deploying apps • Hosting
docs • ...
Problems Present 1. Students do work. 2. Students submit work.
3. Teaching fellows review work.
Team • Brian Yu • Chad Sharp • Hailey James
• Kareem Zidane
Team • Brian Yu • Chad Sharp • Hailey James
• Kareem Zidane
Solutions 1. Students do work. 2. Students submit work. 3.
Teaching fellows review work.
Solutions 1. Students do work. Homegrown tool. 2. Students submit
work. 3. Teaching fellows review work.
Solutions 1. Students do work. Homegrown tool. 2. Students submit
work. Homegrown tool. 3. Teaching fellows review work.
Solutions 1. Students do work. Homegrown tool. 2. Students submit
work. Homegrown tool. 3. Teaching fellows review work. Homegrown tool.
Solutions
Solutions 1. Homegrown tool
Solutions 1. Homegrown tool 2. Improved homegrown tool
Solutions 1. Homegrown tool 2. Improved homegrown tool 3. New
homegrown tool
Solutions 1. Homegrown tool 2. Improved homegrown tool 3. New
homegrown tool 4. New-and-improved homegrown tool
Solutions 1. Homegrown tool 2. Improved homegrown tool 3. New
homegrown tool 4. New-and-improved homegrown tool 5. GitHub
Solutions 1. Homegrown tool 2. Improved homegrown tool 3. New
homegrown tool 4. New-and-improved homegrown tool 5. GitHub + homegrown tool
Solutions 1. Homegrown tool 2. Improved homegrown tool 3. New
homegrown tool 4. New-and-improved homegrown tool 5. GitHub + homegrown tool
Solutions 1. Homegrown tool 2. Improved homegrown tool 3. New
homegrown tool 4. New-and-improved homegrown tool 5. GitHub + Docker
Doing Work 1. ice.harvard.edu
Doing Work 1. ice.harvard.edu 2. nice.harvard.edu
Doing Work 1. ice.harvard.edu 2. nice.harvard.edu 3. cloud.cs50.net
Doing Work 1. ice.harvard.edu 2. nice.harvard.edu 3. cloud.cs50.net 4. CS50
Appliance
Doing Work 1. ice.harvard.edu 2. nice.harvard.edu 3. cloud.cs50.net 4. CS50
Appliance 5. CS50 IDE
Submitting Work
Submitting Work 1. submit
Submitting Work 1. submit 2. cs50submit
Submitting Work 1. submit 2. cs50submit 3. GitHub:FI
Submitting Work 1. submit 2. cs50submit 3. GitHub:FI 4. CS50
Submit with CLI
Submitting Work 1. submit 2. cs50submit 3. GitHub:FI 4. CS50
Submit with CLI 5. CS50 Submit with GUI
Submitting Work 1. submit 2. cs50submit 3. GitHub:FI 4. CS50
Submit with CLI 5. CS50 Submit with GUI 6. submit50
Submitting Work 1. submit 2. cs50submit 3. GitHub:FI 4. CS50
Submit with CLI 5. CS50 Submit with GUI 6. GitHub
Submitting Work 1. submit 2. cs50submit 3. GitHub:FI 4. CS50
Submit with CLI 5. CS50 Submit with GUI 6. GitHub 7. GitHub + Docker
Reviewing Work
Reviewing Work 1. Paper
Reviewing Work 1. Paper 2. PDF
Reviewing Work 1. Paper 2. PDF 3. CS50 Submit
Reviewing Work
Reviewing Work 1. Paper 2. PDF 3. CS50 Submit 4.
GitHub.com
Reviewing Work 1. Paper 2. PDF 3. CS50 Submit 4.
GitHub.com 5. GitHub.com + homegrown tool 0:-)
Why • Client • Server • UI for code review
• Permissions model ◦ CS50 ◦ CS50x ◦ CS50 AP • Post-commit hooks • ...
How • Gists? • Pull Requests? • GitHub Classroom? •
Commits?
None
None
None
None
What • Client • Server • UI for code review
• Permissions model ◦ CS50 ◦ CS50x ◦ CS50 AP • Post-commit hooks • ...
None
education.github.com
None
How • Repo per project? • Branch per project?
None
None
github.com/cs50/submit50
None
None
None
None
None
None
None
Submitting • git add --all • git commit --allow-empty --message
• git push origin refs/heads/hello
Resubmitting • git clone --bare hello /tmp • git symbolic-ref
HEAD refs/heads/hello • git add --all • git commit --allow-empty --message • git push origin refs/heads/hello
developer.github.com/v3/repos/
None
None
None
None
None
None
None
None
None
None
Tagging • git clone • git checkout refs/heads/hello • git
commit-tree HEAD^{tree} -m 20171011T230000Z • git push origin refs/tags/20171011T230000Z
github.com/cs50/check50
Autograding • git clone • git checkout refs/tags/20171011T230000Z • check50
hub.docker.com/r/cs50/
docker.com
docker.com
aws.amazon.com/ecs/
GitHub + Docker 1. Student pushes code to GitHub 2.
Post-receive hook informs CS50 of submission 3. CS50 informs ECS of submission 4. ECS clones repo, autogrades branch 5. ECS informs CS50 of scores
None
None
None
tl;dr • CS50 at cs50.edx.org • CS50 IDE at cs50.io
• submit50 at github.com/cs50/submit50 • check50 at github.com/cs50/check50 • Slides at cs50.ly/universe17
Building CS50 on GitHub David J. Malan
[email protected]
slides at
cs50.ly/universe17