Authors: César Muñoz and Loreto Ñancucheo
In both the server and client directories, run:
npm i
To bring up Docker Compose (depending on the caching method), use:
docker-compose up -d
To bring down Docker Compose
docker-compose down -v
For server operations:
npm run start
For client operations, you have three options:
# to use clasic cache
npm run start-clasic
# to use partition cache
npm run start-partition
# to use replica cache
npm run start-replica
In test directory, for uniform test:
python3 uniform-test.py
for the entropy test:
python3 entropy-test.py
In case db-init is missing permissions:
sudo setenforce 0
sudo chcon -Rt svirt_sandbox_file_t ./db-init/
If subnet 173.18.0.0/16 is occupied:
sudo docker network ls
sudo docker network inspect [network_name]
sudo docker network rm [network_name]