You must have npm installed on your computer. From the root project directory run these commands from the command line:
$ npm install
make sure you installed Redis and Redis server is working
$ redis-cli
127.0.0.1:6379> ping
PONG
127.0.0.1:6379>
echo 'PORT=4600' >> .env
echo 'NODES_CONF_DIRENAME=/home/holterconfs/' >> .env
echo 'REDIS_HOST=127.0.0.1' >> .env
echo 'REDIS_PORT=6379' >> .env
echo 'REDIS_PREFIX=h' >> .env
$ npm test
$ npm run dev
$ npm run server
Just make a new <NODE_NAME>.json on Configs Files Directory (the path You define it in Environment Variables as NODES_CONF_DIRENAME)
{
"cluster": "",
"node": "",
"host": "",
"port": "",
"path": "",
"onfailure": {}
}
"onfailure": {
"type": "script",
"command": ""
}
"onfailure": {
"type": "endpoint",
"url": "",
"method": "",
"headers":{},
"body": {},
}