Fork me on GitHub

Updating Gekko #

Prepare #

Before updating your local version of Gekko it's good to keep a few things in mind:

Updating to a new stable release #

Run the following commands inside the Gekko directory:

git checkout stable
git pull
npm install --only=production
cd exchange
npm install --only=production
cd ..

Updating the develop branch #

The develop branch contains the most recent code as we are working on Gekko. In most scenarios this should considered less stable. But note that once a bug is found and fixed the fixes are applied here immediately while it takes the release of a new version to have these changes available in the stable branch.

git checkout develop
git pull
npm install --only=production
cd exchange
npm install --only=production
cd ..

Compiling the frontend on the develop branch #

If you are using the UI and it changed since the latest release you need to manually recompile it since (as of v0.6.2) Gekko only ships compiled frontends with new releases.

cd web/vue
npm install
npm run build
cd ../..