The following dependencies will need to be installed on the OS:
Once you have a NodeJS environment installed install the following dependencies globally using the npm install -g <dependency>
command:
git clone -b dev_build "https://github.com/redbox-mint/redbox-portal"
{
"apps" : [{
// Application #1
"name" : "rbportal",
"script" : "app.js",
"args" : [],
"watch" : true,
"node_args" : "",
"merge_logs" : true,
"cwd" : "/opt/redbox-portal/",
"env": {
"NODE_ENV": "development",
"redboxApiKey": ""
}
}
]
}
pm2 startup systemd
pm2 start ecosystem.json
pm2 save