You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gcloud-java-examples/README.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,27 +24,29 @@ To run examples from your command line:
24
24
25
25
1. Login using gcloud SDK (`gcloud auth login` in command line)
26
26
27
-
2.Compile using Maven (`mvn compile` in command line from your base project directory)
27
+
2.Set your current project using `gcloud config set project PROJECT_ID`
28
28
29
-
3. Run an example using Maven from command line.
29
+
3. Compile using Maven (`mvn compile` in command line from your base project directory)
30
+
31
+
4. Run an example using Maven from command line.
30
32
31
33
Here's an example run of `DatastoreExample`.
32
34
33
35
Note that you have to enable the Google Cloud Datastore API on the [Google Developers Console][developers-console] before running the following commands.
Before running the example, go to the [Google Developers Console][developers-console] to ensure that Google Cloud Storage API is enabled and that you have a bucket. Also ensure that you have a test file (`test.txt` is chosen here) to upload to Cloud Storage stored locally on your machine.
0 commit comments