- From the command line, log into Bluemix.
cf login
- Create a Bluemix SQL DB service as named in the manifest.yml file.
cf cs sqldb sqldb_free sample-tia-sqldb
- Download the Project Zip from this github repository, extract the zip, and change the names of the application and services in the manifest.yml file to the names you will be using...
declared-services:
sample-tia-sqldb:
label: sqldb
plan: sqldb_free
applications:
- name: twitter_influence_analyzer_dao
memory: 512M
instances: 1
host: twitter_influence_analyzer_dao
path: bluemix-tia-sample.war
domain: mybluemix.net
services:
- sample-tia-sqldb
- Navigate to the unzip directory from step 3 using the command line and push the app with the
cf push
command.
You can deploy this applications directly to your bluemix by clicking this deployment button.
Sample web applications that include this package may be configured to track deployments to IBM Bluemix and other Cloud Foundry platforms. The following information is sent to a Deployment Tracker service on each deployment:
- Node.js package version
- Node.js repository URL
- Application Name (
application_name
) - Space ID (
space_id
) - Application Version (
application_version
) - Application URIs (
application_uris
)
This data is collected from the package.json
file in the sample application and the VCAP_APPLICATION
environment variable 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.