Clone this repo :
git clone git@github.com: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