Slide 1

Slide 1 text

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

Slide 8

Slide 8 text

DevStack Docs and Demo ! https://github.com/edx/configuration/wiki/edX- Developer-Stack ! https://github.com/edx/edx-platform/wiki/Developing-on- the-edX-Developer-Stack ! https://github.com/edx/edx-platform/wiki/Test- engineering-FAQ ! http://userdocs.readthedocs.org/en/latest/pavelib.html

Slide 9

Slide 9 text

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

Slide 10

Slide 10 text

MITxStack Mocs and Memo ! https://github.com/edx/configuration/wiki/edx- Production-stack--installation-using-Vagrant-Virtualbox ! https://github.com/edx/configuration/wiki/edX- Managing-the-Production-Stack ! https://odl.mit.edu/wiki/Running_edX_Locally ! https://groups.google.com/d/forum/edx-code ! https://groups.google.com/d/forum/openedx-ops

Slide 11

Slide 11 text

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