A fake, but distributed version of twitter.
Contributors:
- Alexandre Abreu (up201800168@up.pt)
- Diana Freitas (up201806230@up.pt)
- Juliane Marubayashi (up201800175@up.pt)
- Simão Lúcio (up201303845@up.pt)
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
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.
To clean the temporary files created after the executions, just run:
$ make clean