opentrace-community / opentrace-cloud-functions

OpenTrace Cloud Functions. Reference implementation of the BlueTrace protocol.
https://bluetrace.io
GNU General Public License v3.0
273 stars 121 forks source link

Confused with last step #16

Closed esQmo closed 4 years ago

esQmo commented 4 years ago

I'm refering to this: Download the json credential file and set the path to GOOGLE_APPLICATION_CREDENTIALS environment variable

Couldn't find it anywhere. I already downloaded the JSON file and I'mnot sure where to put it and where to set the GOOGLE_APPLICATION_CREDENTIALS variable.

Building on Android

Help appreciated.

achrinza commented 4 years ago

GOOGLE_APPLICATION_CREDENTIALS is an environment variable. Depending on the operating system, there's different ways to set this value:

Windows

$env:GOOGLE_APPLICATION_CREDENTIALS="[PATH]"

Unix / macOS

export GOOGLE_APPLICATION_CREDENTIALS="[PATH]"

(Substitute [PATH] with the path to the JSON credentials file.)

Further reading:

esQmo commented 4 years ago

You need to update the Reame file to make it clear to everyone

achrinza commented 4 years ago

I’m not part of the team but I’ll see if I can open a PR for review ¯\_(ツ)_/¯

esQmo commented 4 years ago

Sorry, not reffering to you explicitly, but to the team. Thanks for your support, appreciate it

qtangs commented 4 years ago

Thanks @achrinza. @esQmo, the README now contains clearer instruction on that.