Accelerating open source course development with edX
Get started with the edX platform, using the MITxVM distribution.
Five steps to get up and running on your own computer (within ~10 minutes), using Vagrant and Virtual Box:
Handy directions
and setup directory structure for files:
There are two main workflows you can use to develop courseware:
You may login to the system using a pre-created user: (email "xadmin@mitxvm.local", password "xadmin"); if you create your own user, to active the user use the "xmanage" command (see below).
Management tools
The MITx virtual machine Vagrant box comes with a simple management tool, xmanage. To see what you can do with it, run:
vagrant ssh -- xmanage helpfrom within the mitx-vagrant directory. Running this command will also tell you what initial users you can login to your edX instances with.
Under the hood
The MITxVM box is built on a base Ubuntu 12.04LTS distribution. The edX platform runs using django/python, and is served via gunicorn and nginx. Virtual Box is used to provide a host-only network, 192.168.42.*. The four edX services listen on eth0 on four separate IP addresses. The system uses mysql for the main database, and mongo for Studio.
Installed repos include edx-platform, xqueue, xserver, latex2edx, edx-ora, ease.
The latex2edx system allows entire edX courses, or alternatively individual problems, to be authored entirely using latex, a document preparation system highly suitable for mathematical content, and widely used in science and engineering.
A full installation of latex2edx is included in the MITx vagrant box.
Also see:
Yes - after doing "vagrant up"; vagrant copies the box file to its own library (something like ~/.vagrant)
Use the xmanage command, eg vagrant ssh -- xmanage setstaff meuser
Studio content is stored in a mongo database; the directory wich is created for the course in data/* is a stub, that really does very little. To delete a course in Studio, vagrant ssh, cd edx_all, source STARTUP, cd edx-platform, run
./DJANGO-ADMIN-CMS delete_coursecommit
course_url is something like MITx/18.05/Statistics_For_everyone
vagrant destroy will delete the whole VM and its hard drive, and will delete all Studio course content. LMS course content is stored in your local directory under data/*, and will not be deleted by the destroy.
The MITxVM box is known to work well with VirtualBox 4.2.12 and Vagrant v1.2.2.
The edX platform is available as open source code. The platform consists of several large subsystems:
See edx-code google group for more discussion