Skip to content

Latest commit

 

History

History
51 lines (44 loc) · 1.02 KB

File metadata and controls

51 lines (44 loc) · 1.02 KB

xSumFE

Pre-requisite

Need to have mongodb, influxdb on your machine. Linux would be the most suitable OS. Need to have npm and node install on your machine

Guide

Clone the project

$ git clone https://github.com/xOpsTech/xSUM.git

Go to xSUM folder and run

$ npm install

Go to src/config folder and run

$ ln -s dev-config.js config.js

Then go back to xSUM folder and run to build

$ npm run build

You can start dev server with

$ npm start

Then go to backend folder and run

$ npm install

Then go to backend/config folder and run

$ ln -s dev-config.js config.js

Then go to back to backend folder and run (This will start the service)

$ npm run service

Other commands

$ npm run scheduler              ## To start scheduler(Inside backend folder)
$ npm run execute create-tenants ## To create influxdb tenants(Inside backend folder)
$ npm run execute update-points  ## To update points with relevant to already added jobs(Inside backend folder)