Wednesday, October 2, 2013

edX-platform - Installing fullstack edX using a pre-built Vagrant image

The edX team has been release the new Configuration, a project that help us to deploy and test edX easily, with code name brioche. I'll try this and see how easy and improved it is.

I will follow this wiki:

My computer:

+ Xubuntu 12.04LTS x86 64bit
+ CPU Intel core i3
+ 4GB of RAM

1. Install requirements:

+ VirtualBox: 4.2.18 r88780
+ Vagrant 1.3.3

2. Download vagrant image (the image's size is about 2.7GB, so I decided to download it manually):

3. Run vagrant init:

# for the full edX stack (md5sum 6b26448fa92056d42f50d910c854a767) 
vagrant init edx

4. Edit the created Vagrantfile, uncomment and modify these following lines:

config.vm.box_url = ""
... :private_network, ip: ""

5. Run vagrant up, and done. Now I can access the LMS and CMS by enter the IP in my laptop's browser:

The fullstack image of edX eats a lot of memory:

I will test the XQueue service and Forums later.

In total, It only took me about 30 minutes (not included the download image time) to install a fullstack edx image. So awesome!!!! \m/\m/\m/