Skip to content

This is a simple distributed version of twitter using kademlia system.

Notifications You must be signed in to change notification settings

Jumaruba/distributed-fake-twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Fake Twitter

A fake, but distributed version of twitter.

Contributors:

  1. Alexandre Abreu (up201800168@up.pt)
  2. Diana Freitas (up201806230@up.pt)
  3. Juliane Marubayashi (up201800175@up.pt)
  4. Simão Lúcio (up201303845@up.pt)

Instalation

To install the program the only needed steps are to clone the repository and install its dependencies.

Assumming you have pipenv installed, just run the following commands:

$ git clone https://git.fe.up.pt/sdle/2021/t3/g14/proj2
$ cd proj2
$ pipenv install

The following command is required to be run in every shell that will execute one of the execution commands:

$ pipenv shell

Execution

The repository already has default configurations in the config folder, so it can be run as follows.

Start by creating a bootstrap peer:

$ python -m src.bootstrap

Then, just start peers with different addresses, it's possible to do that with the following command:

$ python -m src 127.0.0.1 3000

With 127.0.0.1 as IP and 3000 as port.

Cleaning

To clean the temporary files created after the executions, just run:

$ make clean

About

This is a simple distributed version of twitter using kademlia system.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published