Skip to content

Commit c42b976

Browse files
committed
Add step to beginning
1 parent 8a1c554 commit c42b976

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

vision/README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ To run the sample, first install dependencies:
1515

1616
bundle install
1717

18+
Next, set the configured project by setting the *GOOGLE_CLOUD_PROJECT*
19+
environment variable to the project name set in the
20+
[Google Cloud Platform Developer Console](https://console.cloud.google.com):
21+
22+
export GOOGLE_CLOUD_PROJECT="YOUR-PROJECT-ID"
23+
1824
Run the sample:
1925

2026
bundle exec ruby vision_samples.rb
@@ -34,11 +40,3 @@ Example:
3440
ruby vision_samples.rb landmark /path/to/grand-canyon.jpg
3541
ruby vision_samples.rb faces /path/to/faces.jpg output-image.jpg
3642

37-
Troubleshooting:
38-
39-
If you encounter the message, "project is missing", set the configured
40-
project by setting the *GOOGLE_CLOUD_PROJECT* environment variable:
41-
42-
export GOOGLE_CLOUD_PROJECT="YOUR-PROJECT-ID"
43-
44-
For more information, see, [Authentication with Google Cloud Ruby](http://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/v0.20.1/guides/authentication#withgooglecloudruby).

0 commit comments

Comments
 (0)