podsi / minercharts

WebUI for the Data-Miner of SubCat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minercharts

WebUI for the Data-Miner of SubCat

Requirements

Install

  • Clone repository & install npm packages
git clone git@github.com:podsi/minercharts.git
cd minercharts
npm install
  • Edit main.json to set some configs (port, path to SubCat sqlite db) Root directory for db path is the repo root directory. Please DO NOT CHANGE the "defaults" part of the main.json
vim config/main.json
{
  "defaults": {
    "partialsDir": "/views/partials",
    "uiSettingsPath": "./config/ui.json"
  },
  "express": {
    "port": 4000
  },
  "db": {
    "path": "./../YOUR_SubCat_DB.db"
  }
}
  • Compile extension functions for SQLITE 3 compile on Mac
cd db
gcc -g -fPIC -dynamiclib extension-functions.c -o extension-functions.dylib

To compile the library for other platforms look at http://www.sqlite.org/loadext.html

  • Start application
npm start

For debug mode run

DEBUG=minercharts:* npm start

About

WebUI for the Data-Miner of SubCat


Languages

Language:JavaScript 70.0%Language:C 17.0%Language:HTML 12.6%Language:CSS 0.4%