Skip to content

Compiling from source on Linux

cfortuna edited this page Dec 1, 2017 · 6 revisions

These instructions are for compiling, unit testing and debugging the C++ based node.js addon. If you only want to use the qminer module, just follow the steps in README.md.

Prerequisites

Basic development environment and git

sudo apt-get install build-essential
sudo apt-get install git

Python v2.7.3 is recommended. It was also tested on python 2.6. It doesn't work on python 3.

sudo apt-get install python2.7

Node.js version 8.x, 7.x, 6.x, 5.x, 4.x or 0.12.x.

Build

git clone https://github.com/qminer/qminer.git && cd qminer
npm install --build-from-source

Run unit tests (from qminer root folder)

npm test
Clone this wiki locally