File tree 1 file changed +1
-10
lines changed
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -7,36 +7,27 @@ Google Cloud Storage Service features a REST-based API that allows developers to
7
7
1 . Install the [ Google Cloud SDK] ( https://cloud.google.com/sdk/ ) , including the [ gcloud tool] ( https://cloud.google.com/sdk/gcloud/ ) .
8
8
9
9
1 . Setup the gcloud tool.
10
- ```
10
+
11
11
gcloud init
12
- ```
13
12
14
13
1 . Clone this repo.
15
14
16
- ```
17
15
git clone https://github.com/GoogleCloudPlatform/java-docs-samples.git
18
- ```
19
16
20
17
1 . Install [ Maven] ( http://maven.apache.org/ ) .
21
18
22
19
1 . Build this project from this directory:
23
20
24
- ```
25
21
mvn package
26
- ```
27
22
28
23
1 . Run one of the sample apps by specifying its class name and a bucket name:
29
24
30
- ```
31
25
mvn exec: java -Dexec.mainClass=StorageSample \
32
26
-Dexec.args="ABucketName"
33
- ```
34
27
35
28
Note that if it's been a while, you may need to login with gcloud.
36
29
37
- ```
38
30
gcloud auth login
39
- ```
40
31
41
32
## Products
42
33
- [ Google Cloud Storage] [ 2 ]
You can’t perform that action at this time.
0 commit comments