jnp commented on a change in pull request #60: RATIS-846: create simplest possible example, a replicated counter URL: https://github.com/apache/incubator-ratis/pull/60#discussion_r409320678
########## File path: ratis-examples/README.md ########## @@ -19,9 +19,13 @@ The repository can be complied using `mvn clean package -DskipTests` under the project root directory; see also [BUILDING.md](../BUILDING.md). -All the scripts for running the examples are located in the [ratis-examples/src/main/bin](src/main/bin) directory; +For the Example 1 and 2, All the scripts for running the examples are located in the [ratis-examples/src/main/bin](src/main/bin) directory; see below for the usage. +Example 3 does not contain any script to run it thus you can run it by these commands: +for server: `java -cp target/*.jar org.apache.ratis.examples.counter.server.CounterServer` Review comment: I had to run it the command as follows. We should mention the server index in the example. Also this needs to be run from ratis-examples directory. java -cp "target/*" org.apache.ratis.examples.counter.server.CounterServer 3 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
