IBM/dWTVSimpleContainerApp

Name: dWTVSimpleContainerApp

Owner: International Business Machines

Description: dWTVSimpleContainerApp

Created: 2018-03-27 14:13:50.0

Updated: 2018-04-10 10:22:20.0

Pushed: 2018-03-27 14:38:05.0

Homepage: null

Size: 21

Language: CSS

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Node.js Hello World Sample

This application demonstrates a simple, reusable Node.js web application based on the Express framework.

Run the app locally
  1. Install Node.js
  2. cd into this project's root directory
  3. Run npm install to install the app's dependencies
  4. Run npm start to start the app
  5. Access the running app in a browser at the URL written to the console (most likely http://localhost:6012)
Build a Docker image from the app
er build -t imageName:tag .

where imageName is whatever you want to call your Docker image and tag is something like v1 or latest.

Privacy Notice

This application uses a metrics tracking package to track deployments to IBM Bluemix and other Cloud Foundry platforms. The following information is sent to a Deployment Tracker service on each deployment:

This data is collected from the package.json and repository.yaml file in the sample application and the VCAP_APPLICATION and VCAP_SERVICES environment variables in IBM Bluemix and other Cloud Foundry platforms. This data is used by IBM to track metrics around deployments of sample applications to IBM Bluemix to measure the usefulness of our examples, so that we can continuously improve the content we offer to you. Only deployments of sample applications that include code to ping the Deployment Tracker service will be tracked.

Disabling Deployment Tracking

To disable tracking, comment out the following line in app.js:

ire('metrics-tracker-client').track();

If you're not using tracking, you can edit the package.json file to remove the requirement for metrics-tracker-client if you like.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.