Commit 0719bd7f authored by hengwen's avatar hengwen
Browse files

Add README

parent fb267bd5
This module implements a gRPC wrapper for MontiSim simulator.
## Install
Install using maven:
```
$ mvn clean install -settings=../settings.xml
```
Run the rpc server at **localhost:6000**:
```
$ java -cp "target/rpc-1.0.0-SNAPSHOT-jar-with-dependencies.jar:." server.rpc.RpcServer 6000
```
Or use IDE to start the main class at `/Users/ham/Projects/MontiSim/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.
## Docker
Build the docker image after the jar is built:
```
$ ./build.sh
```
Run the rpc server:
```
$ docker run --rm -p 6000:6000 rpc-server:latest
```
This command will start a rpc service and serve requests at **localhost:6000**
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