Commit 405ec2a5 authored by Evgeny Kusmenko's avatar Evgeny Kusmenko
parents f705e5ea 2970724f
Pipeline #192096 passed with stages
in 12 minutes and 9 seconds
This is the simulation server module. It provides a set of RESTful APIs for setting up, running simulation and also This is the simulation server module. It provides a set of RESTful APIs for setting up, running simulation and also
retrieving the results. retrieving the results.
## Install ## Install
Install using maven: Install using maven:
``` ```
$ mvn clean install -settings=../settings.xml -DskipTests $ mvn clean install --settings=../settings.xml -DskipTests
``` ```
Run the server: Run the server:
``` ```
$ java -jar ./target/restful-2.2.0-SNAPSHOT.jar $ java -jar ./target/restful.jar
``` ```
It is also fine to start the server using your IDE, the main class is located at `src/main/java/server/restful/Server.java`. It is also fine to start the server using your IDE, the main class is located at `src/main/java/server/restful/Server.java`.
......
...@@ -7,7 +7,7 @@ $ mvn clean install -settings=../settings.xml -DskipTests ...@@ -7,7 +7,7 @@ $ mvn clean install -settings=../settings.xml -DskipTests
``` ```
Run the rpc server at **localhost:6000**: Run the rpc server at **localhost:6000**:
``` ```
$ java -cp "target/rpc-2.2.0-SNAPSHOT-jar-with-dependencies.jar" server.rpc.RpcServer 6000 $ java -cp "target/rpc-jar-with-dependencies.jar" server.rpc.RpcServer 6000
``` ```
Or use IDE to start the main class at `/path/to/server/rpc/src/main/java/server/rpc/RpcServer.java`. Or use IDE to start the main class at `/path/to/server/rpc/src/main/java/server/rpc/RpcServer.java`.
Don't forget to set the program argument telling rpc server on which port it should listen. Don't forget to set the program argument telling rpc server on which port it should listen.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment