Skip to content

Yenniferh/Pastry-send-message

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pastry Simulator

A Pastry implementation in Java using FreePastry. Store files on a Peer to Peer network.

How to run

  1. You must include the FreePastry lib. Download

  2. Generate .jar

  3. Open the CLI and go to /dist location

  cd /dist
  1. Run the following command
  java -jar "PastrySimulator.jar" 9000 [your local IP] 9000
  1. (Optional) Open another CLI and run the following command, you can repeat this step as many times as you want (for i=1; i<n; i++)
  java -jar "PastrySimulator.jar" 9000+i [your local IP] 9000
  1. You must include 2 more libraries:

  2. Now, you can store files on a P2P network

Store file on P2P

Releases

No releases published

Packages

No packages published

Languages