Navigating the Vagrant
Stacks of edX
Watch out for dragons
Slide 2
Slide 2 text
About Me
! Working with edX for over a year from
the outside
! Into automation – like really into
automation
! Cultivator of Web farms
! No seriously – automate everything
Slide 3
Slide 3 text
edX Application Arch
Slide 4
Slide 4 text
Stac-Man
Slide 5
Slide 5 text
Folder Structure
Slide 6
Slide 6 text
What Stack for What: DevStack
! DevStack
! Core platform development (or forums, or xqueue)
! Testing environment setup
! Use your own tools
! Development server and debug tools ready
Slide 7
Slide 7 text
What Stack for What: FullStack
! FullStack
! Debug Courseware on edX.org
! MITxStack
! Built on FullStack
! Support local course development
! Fast course loading
! MITx configuration and theme
! Pinned by default to code running MITx Production
DevStack Gotchas
! Some things don’t work like they do in production: notably
static assets
! MIT VPN client wreaks havoc on network/shared drive
! Mac sleeping causes slowness on shared drive
! MongoDB lock
! sudo rm /edx/var/mongo/mongodb/mongod.lock
! sudo /etc/init.d/mongodb restart
! Debug toolbar à MathJAX slowness:
https://gist.github.com/carsongee/8bd342e426e5d05d4348
MITxStack Gotchas
! Behind edX master branch by roughly a semester
! Enable/disable mongo static
! Symlinks don’t work like you probably want
! Debugging is a little harder since you only get info or higher
(except on course import)
Slide 12
Slide 12 text
Questions?
! Feel free to ask me questions after this via e-mail, HipChat,
Jabber, Carrier Pigeon, etc.
! edX-Code List