Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

How install on Pine64 Sopine Board (ARMv7)

zzla edited this page Mar 13, 2018 · 7 revisions

How install on Pine64/Sopine Board (ARMv7)

This Guide should work on RaspberryPI as well..

Basically, everything needs to be built from source. For some reason (which I have not looked into), the default url to download ARM packages from the NPM repository just doesn't work. (access denied error, if i recall correctly).

NodeJS:

Install Directions:

  • cd /tmp
  • wget http://nodejs.org/dist/v0.10.32/node-v0.10.32.tar.gz
  • tar -xvf node-v0.10.32.tar.gz
  • cd node-v0.10.32
  • make install

SQL-Lite

Install Directions:

  • tar xvfz sqlite-autoconf-3220000.tar.gz
  • cd sqlite-autoconf-3220000
  • ./configure
  • make
  • make install

Nodes...

Build from Source

I cannot seem to remember all of the nodes required to install gekko, however the process is the same. As you continue along your install, you'll find that you are missing prerequisites. Different nodes (talib, node-pre-gyp, etc) are needed for different strategies and functions within Gekko. For each and every one of these, you should build from source. You may do this either by using npm or by finding the respective github repository for each (they exist!).

Using NPM

  • npm install talib --unsafe-perm --build-from-source
  • npm install tulind --unsafe-perm --build-from-source
  • npm install tulip --unsafe-perm --build-from-source

From GitHub:

  • git clone https://github.com/user/repo
  • cd repo
  • sudo npm install /repo

(Carefully) Building from External sources:

  • wget https://project/releases/version/project_v_arm.foo
  • cd gekko
  • sudo npm install /project_v_arm.foo

Usual Disclaimer regarding building from an external source:

  • trust no one (yup, not even me)
  • review code before executing
  • remember, whether simulating or making live trades, you're dealing with monies here. Just as eager as you are to earn honestly, the next person is eager to earn dishonestly.