/python-cloud-gcp-pubsub

API demonstrates how to send/receive messages using Google Cloud Pub/Sub.

Primary LanguagePythonApache License 2.0Apache-2.0

API demonstrates how to send/receive messages using Google Cloud Pub/Sub.

Running locally

Quickstart

From the command line do:

$ git clone https://github.com/RicardoSabinolrs/python-google-cloud-pubsub.git
$ cd python-google-cloud-pubsub/
$ pipenv install
$ pipenv shell

Then set environment variables before starting your application:

$ export GOOGLE_APPLICATION_CREDENTIALS=[path]