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