From 1f50e26d3a6af8c10a224f1fef7b876a54fe6f00 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Tue, 3 Feb 2015 14:43:18 -0800 Subject: [PATCH 1/2] Need project_id from argument to run the client correctly. --- examples/tips/README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/tips/README b/examples/tips/README index faebb7343c9..38351750978 100644 --- a/examples/tips/README +++ b/examples/tips/README @@ -14,7 +14,7 @@ gcloud compute instances create instance-name To run the client from GCE: make tips_client -bins/opt/tips_client +bins/opt/tips_client --project_id="your project id" A service account credential is required to run the client from other environments, which can be generated as a JSON key file from @@ -22,6 +22,7 @@ https://console.developers.google.com/project/. To run the client with a service account credential: bins/opt/tips_client + --project_id="your project id" --service_account_key_file="absolute path to the JSON key file" --project_id="your project id" From 3ebec60ec45d3b7867d80907a0acf32c94e7d98e Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Tue, 3 Feb 2015 15:19:05 -0800 Subject: [PATCH 2/2] Only add project_id for GCE command line. --- examples/tips/README | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/tips/README b/examples/tips/README index 38351750978..ae7d096c2ed 100644 --- a/examples/tips/README +++ b/examples/tips/README @@ -24,8 +24,3 @@ account credential: bins/opt/tips_client --project_id="your project id" --service_account_key_file="absolute path to the JSON key file" - --project_id="your project id" - - - -