This repository has been archived on 2025-10-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
gekko/docs/installation/installing_gekko.md
2021-06-06 20:25:14 +02:00

2.7 KiB

Installing Gekko

NOTE: unfortunately installing and managing Gekko is hard. You will need to touch the commandline and install a few developer tools. I am creating an official Gekko service called Gekko Plus that will NOT require any installation.

Here is a video of me explaining how to install Gekko the easiest way possible:

screen shot 2017-04-20 at 00 03 45

To get Gekko running you need to do the following:

  • install nodejs
  • install git
  • download Gekko
  • install Gekko & Gekko Broker dependencies

Installing nodejs

Gekko requires nodejs to be installed. Go ahead and install this if it's not already (Gekko requires at least version 8.11.2). We advice to download the current LTS.

Installing git

As part of Gekko's installation process git is used, see this guide for installation instructions. If you do not already have git on your system.

Downloading Gekko

The recommended way of downloading Gekko is by using git. This makes keeping Gekko up to date a lot easier. Run this in a terminal:

git clone git://github.com/askmike/gekko.git -b stable
cd gekko

This will download the latest stable version of Gekko, remove the final -b stable part to download the current latest release (which might not be as stable).

Alternatively you can manually download the latest stable version of Gekko on the releases page.

Installing Gekko's dependencies

Once you have Gekko downloaded you need to install the dependencies, open your terminal and navigate to the gekko folder and run:

npm install --only=production

NOTE: You may see a vulnerability warning from NPM, if you run npm audit with --force, Gekko will break. See here.

You also need to install Gekko Broker's dependencies, run:

cd exchange
npm install --only=production
cd ..

Starting Gekko

After all the above you can start Gekko by running the following in your terminal:

node gekko --ui

Updating Gekko

See the updating Gekko doc.