to-html
v0.2.1
Published
Microservice to convert data and template into html
Downloads
1,035
Maintainers
Readme
to-html
Microservice to convert data and template into html
Installation
There are two ways to install: as a submodule or a microserver.
1. As submodule
npm install --save to-html
2. As microservice
git clone http://github.com/uci-soe/to-html
cd to-html
npm start
Running Microservice with PM2
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
Usage
/* Add usage for submodule */
/* Add usage for microservice */
License
BSD-3-Clause - LICENSE