Skip to content

Commit

Permalink
Fix markdown and simplify command
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-philippe-martin committed Apr 27, 2016
1 parent 25eaa09 commit 6398cfd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gcloud-java-examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ To run examples from your command line:

2. Set your current project using `gcloud config set project PROJECT_ID`. This step is not necessary for `ResourceManagerExample`.

3. Compile using Maven: `mvn install -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true` in command line from your base project directory
then `cd gcloud-java-examples` and finally `mvn package appassembler:assemble -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true`.
3. Compile using Maven: `mvn install -DskipTests` in command line from your base project directory
then `cd gcloud-java-examples` and finally `mvn package appassembler:assemble -DskipTests`.

4. Run an example from the command line using the Maven-generated scripts.

Expand Down Expand Up @@ -70,6 +70,7 @@ To run examples from your command line:
target/appassembler/bin/DatastoreExample your-project-id my_name add my\ comment
target/appassembler/bin/DatastoreExample your-project-id my_name display
target/appassembler/bin/DatastoreExample your-project-id my_name delete
```
* Here's an example run of `DnsExample`.
Expand Down

0 comments on commit 6398cfd

Please sign in to comment.