Shinobi

How to Switch between dev and master Branches

This article will show you how to switch branches for Shinobi. There are multiple branches but dev and master are the main ones.

The default installation directory for Shinobi is /home/Shinobi . You should also become root or prefix with sudo to run the following commands.

This article will show you how to switch branches for Shinobi. There are multiple branches but dev and master are the main ones. The dev branch contains all the latest changes that are expected to be stable. The master branch is expected to contain the latest stable build.

1. Navigate to the Shinobi directory.

cd /home/Shinobi

2. Use git to switch. The following commands will show how to switch to dev.

git checkout dev

If you are getting errors you may need to run the following first.

sh UPDATE.sh

If you are switching from Dashboard v2 to Dashboard v3 you need to run the following command one time inside the Shinobi folder. After doing so running only UPDATE.sh should be fine unless otherwise instructed.

sh UPDATE-v2-to-v3.sh

3. Once switched you will need to restart Shinobi for changes to take effect.

pm2 restart all
cd /home/Shinobi
git checkout master
pm2 restart all

ShinobiDocs

All content is property of their respective owners.