fluffy
Team project for CMPE275.
Setting up Cassandra Database
Create a new database named Files by running following query in command line tool of cassandra.
CREATE KEYSPACE files WITH replication = { 'class': 'SimpleStrategy', 'replication_factor': '1' };
Run the following query after entering in to the data base through cassandra command line tool.
CREATE TABLE files ( filename text, file blob, seq_id int , timeStamp double , PRIMARY KEY (filename,timeStamp));
To build proto files
Change proto home PROTOC_HOME=/usr/local/bin/protoc in the "build_pb.sh" Run "build_pb.sh"
Starting Server
To run "startServer.sh" and pass conf file path. Make sure that server's commandPort is running on 4568 port. Change the appropriate commandPort to be 4568
Starting Client
To run Client, you have to run "runPing.sh". Before running shell file, kindly make following changes in "runPing.sh"
Log in or sign up for Devpost to join the conversation.