This program is the peer portion of the distributed P2PFlix application.
This project requires:
- Python 3.7 or greater
- pipenv
To install all requirements use pipenv install
. To install extra requirements for
linting and testing, use pipenv install --dev
.
This project is linted using flake8
and some related plugins. To lint use pipenv run flake8
.
This project uses pytest for testing. To run tests, use pipenv run pytest
. To write
tests, put everything needed in the tests
directory.
To run the peer in CLI mode program, use pipenv run ./peer.py <command> <options>
. For help
documentation, check pipenv run ./peer.py -- --help
or pipenv run ./peer.py <command> -- --help
To run the peer in GUI mode, use pipenv run ./p2pflix.py
.