Sitelet https://github.com/boro741/nodejs-docs-samples/tree/rethinkdb/pubsub
Skip to content

Latest commit

 

History

History
 
 

pubsub

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Pub/Sub Samples

These samples require two environment variables to be set:

  • GOOGLE_APPLICATION_CREDENTIALS - Path to a service account file. You can download one from your Google project's "permissions" page.
  • GCLOUD_PROJECT - Id of your Google project.

Run a sample

Install dependencies:

npm install

To print available commands:

npm run

Execute a sample:

npm run <sample>

Example:

npm run subscription