Skip to content

A Node JS server architecture to connect to a high performance computer via SSH and manage experiments.

Notifications You must be signed in to change notification settings

dominicbosch/hpwc-workflow

Repository files navigation

hpwc-workflow

A Node JS server architecture to connect to high performance computers via SSH and manage experiments.

Used Libraries:

Starting the Server:

var workflow = require( 'hpwc-workflow' );

// HTTP Server
workflow({ port: 8080 });

// HTTPS Server
workflow({
	port: 443,
	production: true,
	keyfile: 'config/https-key.pem',
	certfile: 'config/https-cert.pem'
});

API:

###init( options )

Where options can contain following optional arguments:

  • loglevel: one of ['fatal'|'error'|'warn'|'info'|'debug'|'trace']
  • port: The port on which to run the server
  • production: Set this property and the system will be run in production mode. Sets the process.env.NODE_ENV accordingly, plus disables caching on the server side if in production mode. Default is production=false which turns off caching of web pages through the rendering engine
  • keyfile: The path to the key file in order to run a HTTPS server
  • certfile: The path to the certificate file in order to run a HTTPS server

About

A Node JS server architecture to connect to a high performance computer via SSH and manage experiments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages