to-html

0.2.1 • Public • Published

to-html NPM version Build Status Dependency Status Coverage percentage

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

Package Sidebar

Install

npm i to-html

Weekly Downloads

1,175

Version

0.2.1

License

BSD-3-Clause

Last publish

Collaborators

  • rhettl