Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 1.13 KB

File metadata and controls

44 lines (38 loc) · 1.13 KB

Distributed-Content-Searching-UOM

Steps to run

  • extract the zip
  • move to extract directory
  • To run the client jar use the below 2 options:
option 1
  • Run below commands in the shell
cd Distributed-Content-Searching-UOM
java -cp BootstrapServer/Java/: BootstrapServer # In windows os java -cp BootstrapServer/Java/; BootstrapServer
path="distributed-content-searching-node/target/*.jar"
mvn clean install -DskipTest
java -jar $path --server.port=<port to up the appliation >
example
$ java -jar distributed-content-searching-node-0.0.1-SNAPSHOT.jar --server.port=8084
option 2
  • if you have installed konsole run the run.sh script
  • provide the number of nodes required as a argument
sh run.sh <number of node>
example
sh run.sh 1
Swagger url
http://localhost:<port>/swagger-ui.html
example
http://localhost:8084/swagger-ui.html