Last active
September 23, 2018 22:59
-
-
Save maoo/c29c457123ac5d25bb065f31659b6870 to your computer and use it in GitHub Desktop.
Run Gekko on VirtualBox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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