It is a small console peer-to-peer chat written with gRPC framework.
To run you can use command java -jar RPCChat.jar <port> <ip>
. IP should be provided only for client mode.
To build chat from source run gradle wrapper && ./gradlew installDist
in RPCChat directory.
You can run chat inside Docker using provided Docker file.
For build Docker image: sudo docker build . --tag chat:1.0
For run Docker image: sudo docker run -it -e ip=<ip for client mode> -e port=<port_number> -p <port_number>:<port_number> chat:1.0