Professional Documents
Culture Documents
1 / 30
Peter Pinch
education at scale
pbs.org, pbslearningmedia.org
Ask me about animatronic aardvarks
MIT OpenCourseWare
2,240 courses and counting
2 / 30
Carson Gee
Seriously into process automation
Over a year with Open edX
Over 100 PRs between platform and
configuration
Not serious about much else
3 / 30
4 / 30
5 / 30
6 / 30
7 / 30
8 / 30
9 / 30
10 / 30
11 / 30
12 / 30
13 / 30
Technical Implementation
Course Import and Export
via Git
Workflow Automation
14 / 30
Options
Directory to check out into
Branch to use
15 / 30
flag in FE
A
TU
R
ESdict
Head to:
h
t
tp
s:
/
/<
y
our_instance>/sysadm
i
nwith
global staff privs
16 / 30
17 / 30
18 / 30
Options
username (for commit authorship)
repo_dir (specify location of local repo
location)
19 / 30
flag in FE
A
TU
R
ESdict
Set g
i
tu
r
lin course's advanced settings
20 / 30
21 / 30
Workflow Automation
Enter gitreload:
https://github.com/mitodl/gitreload
Responds to hooks from github/gitlab
Runs g
it
_
ad
d_coursefrom hookshot
Only operates on courses already
checked out
22 / 30
Installing gitreload
Try before you buy:
s
u
dos
u-edxapp-s/bin/ba
sh
.ed
xa
p
p_env
p
i
pin
s
tallgitreload
g
i
tr
el
o
ad
23 / 30
24 / 30
Set G
I
T_
I
MP
ORT_STATIC=False
25 / 30
Changes to:
l
o
ca
ti
o
n~/static/((?P<dir
>[
^/
]+)
/(
?P<
fi
le>
.*
)|
(?P
<r
fil
e>
[\w
\d
\.
]
+
)
){
root{{edxapp_app_
di
r}};
try_files/staticfi
le
s/
$di
r/
$fi
le
/course_static/$d
ir
/s
tat
ic
/$f
il
e
/staticfiles/$rfi
le=
404
;
26 / 30
Conclusions
The Good
Simple and safe to publish to students
Social course development w/ github
Versioned per course backups gratis
Support of multiple student LMS targets
Better courseware debugging
27 / 30
Conclusions
The Bad
More complex setup
git hooks
repository creation
manual first checkout
Future Work
Create RESTful token auth Course
Import/Export API
Studio and LMS
29 / 30
Questions?
mitodl/git-based-courses-slides
30 / 30