Skip to content

Switching between ironwood and hawthorn

Muhammad Osama Arshad edited this page May 23, 2019 · 4 revisions

If you already have been working on a release of the devstack and you wish to switch between ironwood and hawthorn branch then run the following commands in the devstack directory.

make stop
cd ../ 
find . | grep -E \"(__pycache__|\.pyc|\.pyo$)\" | sudo xargs rm -rf
cd devstack
make dev.checkout
make dev.up
make lms-shell
paver update_db

These commands, clear out pyc files, checkout the relevant branches, then update the dependencies and migrations. The above commands should be enough to switch both the branches.

If, even after running the above commands, you face issues in the transition, then it is recommended to destroy and rebuild the devstack from scratch.

make destroy
cd ../ 
find . | grep -E \"(__pycache__|\.pyc|\.pyo$)\" | sudo xargs rm -rf
cd devstack
make dev.checkout
make dev.provision
Clone this wiki locally