Skip to content

How to setup for development

Derek Rhodes edited this page Jan 11, 2022 · 2 revisions

https://github.com/drhodes/remoxblock/wiki/How-to's

Instructions on how to develop

  1. Install the devstack

The way devstack is configured, it installs a bunch of stuff in the parent of the devstack repo, so watch out for that!

  1. Bring up the devstack
$ cd devstack                                                                                                                                                             
$ make dev.up.all                                                                                                                                                         

Optionally, kill some of the containers if running out of memory.

$ cd remoxblock                                                                                                                                                           
$ export DEVSTACK_WORKSPACE=/path/to/parent/of/devstack                                                                                                                   
$ make kill-extra-containers                                                                                                                                              
  1. Make changes

  2. deploy the xblock to the the lms and studio containers by running

$ cd remoxblock                                                                                                                                                           
$ make deploy-local-docker                                                                                                                                                

That will pip install the xblock into the correct virtual-env on both the lms and studio containers and then restart their servers.