Skroutz Hypernova Mircorservice
A wrapper around Airbnb's Hypernova that supports component versioning
Installation
This service is packed as an npm module and is distrubed via NPM registry.
$ npm install -g @skroutz/hypernova-service
Or with yarn
$ yarn global add @skroutz/hypernova-service
Command Line Options
Options:
--version Show version number [boolean]
-h, --help Show help [boolean]
-p, --port port number to run the server
[number] [default: 3030]
--production Server production mode on/off
[boolean] [default: false]
--debug Debug mode on/off [boolean] [default: false]
--release-load-path Path to the root of the skroutzHypernova releases.
[string] [default: "./testdata/"]
--statsd-host Host to send metrics to
[string] [default: "localhost"]
--statsd-report-interval Interval to report to statsd (in seconds)
[number] [default: 5]
--release-expiry Release expiry time (in seconds). After that time,
the files will be unloaded from the RAM
[number] [default: 5]
--release-unload-interval Interval that the release invalidate function will
run (in seconds) [number] [default: 5]
--sentry-env Sentry environment. Will be used as the environment
parameter when reporting an exception to Sentry.
[choices: "staging", "production"]
--sentry-dsn Sentry DSN in order to use the API. Obtained in
https://sentry.skroutz.gr/settings/skroutz/{your-pr
oject}/keys/ [string]
More documentation here!