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
CS50
October 11, 2017
Education
1
510
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
56
Technology We Can’t Live Without!, revisited
cs50
0
210
A Web-Based IDE for Teaching with Any Language 2017
cs50
0
37
A Web-Based IDE for Teaching with Any Language 2016
cs50
0
34
Things We Do That You Can Do Too
cs50
1
790
Birds of a Feather Who'd Like to Share Software Together
cs50
2
240
CS50 Educator Workshop June 2017
cs50
2
200
This is CS50x.ni
cs50
1
130
CS50 a Escala
cs50
1
100
Other Decks in Education
See All in Education
TP5_-_UV.pdf
bernhardsvt
0
120
Algo de fontes de alimentación
irocho
1
450
Mathematics used in cryptography around us
herumi
2
400
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
4
15k
2024年度秋学期 統計学 第2回 統計資料の収集と読み方(授業前配付用) (2024. 10. 2)
akiraasano
PRO
0
100
Kaggle 班ができるまで
abap34
1
220
1216
cbtlibrary
0
250
H5P-työkalut
matleenalaakso
4
36k
AWS Well-Architected Labを活用してつよつよAWSエンジニアになろう!!! #jawsug_tokyo
masakiokuda
0
240
Lisätty todellisuus opetuksessa
matleenalaakso
1
2.3k
Nodiレクチャー 「CGと数学」講義資料 2024/11/19
masatatsu
1
260
Image Processing 1 : 1.Introduction
hachama
0
470
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Side Projects
sachag
452
42k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Unsuck your backbone
ammeep
669
57k
Docker and Python
trallard
42
3.1k
Designing for humans not robots
tammielis
250
25k
Site-Speed That Sticks
csswizardry
2
190
Gamification - CAS2011
davidbonilla
80
5.1k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
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