Skip to content

Latest commit

 

History

History
50 lines (43 loc) · 1.14 KB

DEVSTACK_DOCKER_SETUP.md

File metadata and controls

50 lines (43 loc) · 1.14 KB

Local devstack Quickstart

Install prerequisites

# In a debian-based environment:
$ sudo apt install make python docker-compose git python3-pip
$ pip install virtualenv

Add user to the docker group

# In a debian-based environment:
$ sudo groupadd docker
$ sudo usermod -aG docker $USER

Note: You may need to log out/restart for group settings to take effect

Make/enter a parent directory for the virtualenv and all the repos

$ mkdir devstackworkspace
$ cd devstackworkspace

Clone devstack

$ git clone https://github.com/openedx/devstack.git

Make/activate a virtualenv

$ virtualenv devstack-venv
$ source devstack-venv/bin/activate

Run makefile steps in devstack

$ cd devstack
$ make requirements
$ make dev.clone.https
$ make dev.pull.lms+studio
$ make dev.provision.lms+studio
$ make dev.up.lms+studio