Skip to content

A peer-to-peer distributed index for file sharing

Notifications You must be signed in to change notification settings

jaymindesai/p2p-di

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peer to peer system with distributed index (P2P-DI)

Run dev mode

Clone this repo :

git clone [email protected]:jaymindesai/p2p p2p

# switch to directory
cd p2p

Install virtualenv on your box :

pip --user install virtualenv

Create virtualenv :

# create virtualenv
virtualenv --python=<path_to_python_3.7_executable> venv		# starts a virtualenv in "p2p" directory

Start virtualenv :

# start venv
source venv/bin/activate

Install :

python setup.py install

Run tests :

python setup.py test

Run Registration Server alone :

# switch to server sub-directory
cd ./p2p/server/

# run server
python rs.py