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:
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 "firstname.lastname@example.org", password "xadmin"); if you create your own user, to active the user use the "xmanage" command (see below).
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.
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
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.
See edx-code google group for more discussion