File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Getting Started with Cloud Spanner and the Google Cloud Client libraries
2
2
3
- <a href =" https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform /java-docs-samples &page=editor&open_in_editor=spanner/cloud-client /README.md " >
3
+ <a href =" https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis /java-spanner &page=editor&open_in_editor=samples /README.md " >
4
4
<img alt =" Open in Cloud Shell " src =" http://gstatic.com/cloudssh/images/open-btn.png " ></a >
5
5
6
6
[ Cloud Spanner] [ Spanner ] is a horizontally-scalable database-as-a-service
@@ -13,15 +13,15 @@ the [Google Cloud Client Library for Java][java-spanner].
13
13
14
14
## Quickstart
15
15
16
- Every command here should be run from the root directory of your project (` java-spanner ` ).
17
-
18
16
Install [ Maven] ( http://maven.apache.org/ ) .
19
17
20
- Build your project with :
18
+ Build your project from the root directory ( ` java-spanner ` ) :
21
19
22
20
mvn clean package -DskipTests -DskipUTs -Penable-samples
23
21
24
- You can then run a given ` ClassName ` via:
22
+ Every subsequent command here should be run from a subdirectory (` cd samples/snippets ` ).
23
+
24
+ You can run a given ` ClassName ` via:
25
25
26
26
mvn exec:java -Dexec.mainClass=com.example.spanner.ClassName \
27
27
-DpropertyName=propertyValue \
You can’t perform that action at this time.
0 commit comments