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: https://github.com/edx/configuration/wiki?utm_content=buffer0f89a&utm_source=buffer&utm_medium=twitter&utm_campaign=Buffer

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):

https://s3.amazonaws.com/edx-static/vagrant-images/20130930-brioche-fullstack.box

3. Run vagrant init:

# for the full edX stack (md5sum 6b26448fa92056d42f50d910c854a767) 
vagrant init edx 20130930-brioche-fullstack.box

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

config.vm.box_url = "20130930-brioche-fullstack.box"
...
config.vm.network :private_network, ip: "192.168.33.10"

5. Run vagrant up, and done. Now I can access the LMS and CMS by enter the 192.168.33.10 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/