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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This application demonstrates a simple, reusable Node.js web application based on the Express framework.
npm install
to install the app's dependenciesnpm start
to start the apper build -t imageName:tag .
where imageName
is whatever you want to call your Docker image and tag
is something like v1
or latest
.
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:
application_name
)application_id
)instance_index
)space_id
) or OS usernameapplication_version
)application_uris
)cf_api
)repository.yaml
fileThis 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.
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.