Skip to content

ibm-watson-data-lab/npmjs-download-stats

Repository files navigation

npmjs-download-stats

Build Status

Sample deployment, tracking Node.js packages developed by members of (https://github.com/ibm-cds-labs)

Deploy on Bluemix

 $ git clone https://github.com/ibm-cds-labs/npmjs-download-stats
 $ cd npmjs-download-stats
 $ cf create-service cloudantNoSQLDB Lite npmjs-cloudant
 $ cf push

Run locally

Download and install the code and its dependencies

 $ git clone https://github.com/ibm-cds-labs/npmjs-download-stats
 $ cd npmjs-download-stats
 $ npm install
 $ cf create-service cloudantNoSQLDB Lite npmjs-cloudant
 $ cf create-service-key npmjs-cloudant Credentials-1
 $ cf service-key npmjs-cloudant Credentials-1

If you use a service instance name other than npmjs-cloudant set environment variable COUCH_INSTANCE_NAME.

  • Copy file vcap_services_template.json to vcap_services.json.
  • In vcap_services.json replace the TODO placeholders with your Cloudant instance information.
 $ cf push

About

npmjs.com download tracker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published