"# distributed-content-sharing-app" compile the project
- BootstrapServer.java
- DistributedNode.java
- Client.java
run below commands from the root
- javac bootstrap_server/BootstrapServer.java
- javac file_transfering/DistributedNode.java
- javac client/Client.java
To run the app,
-
first run server in a seperate CLI java bootstrap_server.BootstrapServer
-
Then run 2 sepearate CLI for each node u want to create
- java file_transfering.DistributedNode -port= -server=127.0.0.1:55555
- java client.Client -node=127.0.0.1:
if you want to create more nodes just run another 2 CLIs with above commands,
Then follow the instructions in the CLI to Search and Download the files