Microservice to convert data and template into html
There are two ways to install: as a submodule or a microserver.
npm install --save to-html
git clone http://github.com/uci-soe/to-html
cd to-html
npm start
PM2 is recommended. Here is an example pm2.json
{
"name" : "to-html",
"script" : "bin/www.js",
"args" : [],
"watch" : true,
"node_args" : "",
"cwd" : "/root/path/to/to-html",
"env": {
"NODE_ENV": "production",
"PORT": "6000",
"NODE_DEBUG": ""
}
}
More pm2.json
documentation available here
/* Add usage for submodule */
/* Add usage for microservice */
BSD-3-Clause - LICENSE