/PeerBox

Peer-to-Peer DropBox clone

Primary LanguageJavaMIT LicenseMIT

About

Distributed DropBox clone service for a local area network (LAN). The idea is to use the free disk space of the computers in a LAN for replicating files in other computers in the same LAN.

Setup

If you have no idea what JGroups is, check this link.

Prerequesites

First we'll need to use the gradle build task to assemble the code into a JAR file, so we can run it with Docker.

The root directory of the project has a docker folder and inside where the docker-compose.yml is, open the terminal and run:

docker-compose up

Only then run the Main on the IDE:

└── src
    └── main
        └── java
            └── pt.ipb.dsys.peerbox
                └── Main.java

The folder boxFile at the root directory is where all the files will be handled by the application.

APP

image