Skip to content

Instantly share code, notes, and snippets.

@30atm
Created October 21, 2018 13:42
Show Gist options
  • Save 30atm/e08b403d5892c1335d136ecb53f68352 to your computer and use it in GitHub Desktop.
Save 30atm/e08b403d5892c1335d136ecb53f68352 to your computer and use it in GitHub Desktop.
edx-devstack.md

Below are the steps I followed to create edx devstack on ubuntu 16.04 running inside virtualbox on Windows 10.

Create virtual box ubuntu instance with atleast 20 Gig so that you do not run into disk full errors.

    sudo apt install git
    sudo apt-get update
    sudo apt install make
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    sudo add-apt-repository    "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
       $(lsb_release -cs) \
       stable"
    sudo apt-get update
    sudo apt-key fingerprint 0EBFCD88
    sudo apt-get install docker-ce
    sudo apt install python
    sudo docker info | grep -i 'storage driver'
    sudo curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
    sudo chmod +x /usr/local/bin/docker-compose
    docker-compose --version
    sudo apt-get install python-pip
    mkdir edx
    cd edx
    git clone https://github.com/edx/devstack.git
    cd devstack/
    make requirements
    make dev.checkout
    make dev.clone
    make dev.provision
    sudo make dev.provision 2>&1>provision.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment