WebUI for the Data-Miner of SubCat
- Clone repository & install npm packages
git clone [email protected]: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