To begin the development server, run npm run nodemon
. Otherwise for production, set env vars and then npm start
.
NODE_PORT
the port to which we will bind the http serverNODE_APPS_JSON
path to the apps json file (defaults tohttp://data.goddard.com/apps.json
)NODE_STATUS_JSON
path to the status json file (defaults tohttp://data.goddard.com/status.json
)NODE_BUILD_JSON
path to the build json file (defaults tohttp://data.goddard.com/build.json
)NODE_NODE_JSON
path to the node json file (defaults tohttp://data.goddard.com/node.json
)NODE_APPS_ROUTE
the path to attach the applications pageNODE_STATUS_ROUTE
the path to attach the status page
NODE_STATUS_ROUTE
or/status
status page (responds to GET)NODE_APPS_ROUTE
or/
applications page (responds to all methods)/log
access logs (responds to GET and DELETE)