Use the following commands to run the blockstore, metadata store and the client (tap 'n' or 'h' to choose hash placement or nearest to client mode) -
-
Blockstore -
python blockstore.py <port-number>
-
Metadata store -
python metastore.py config.txt
-
Client -
// to download a file python3 client.py <mode> config.txt download myfile.jpg folder_name/ // to upload a file python3 client.py <mode> config.txt upload myfile.jpg // to delete a file python3 client.py <mode> config.txt delete myfile.jpg