Skip to content

Instantly share code, notes, and snippets.

@maoo
Last active September 23, 2018 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maoo/c29c457123ac5d25bb065f31659b6870 to your computer and use it in GitHub Desktop.
Save maoo/c29c457123ac5d25bb065f31659b6870 to your computer and use it in GitHub Desktop.
Run Gekko on VirtualBox
#!/bin/bash
#1 - Install VirtualBox
#2 - Download and install Centos 7, 64bit - https://www.osboxes.org/centos/
#3 - Add and run this script with sudo: sudo ./install-gekko.sh
cd ~
# Optional, install chromium
# yum install -y epel-release
# yum install -y chromium
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
export NVM_DIR="/home/osboxes/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
nvm install stable
wget https://github.com/askmike/gekko/archive/v0.6.6.zip
unzip v0.6.6.zip
cd gekko-0.6.6
cp ~/gekko-config.js config.js
npm install
yum audit fix --force
# If the list of exchanges gets a 500, recreate the gekko folder
#
# cd ..
# rm -rf gekko-0.6.6
# unzip v0.6.6.zip
# cd gekko-0.6.6
cd exchange
npm install
node ./gekko --config config.js --ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment