Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces scripts for easily set up a seedbox (for propagating data to Tribler's network).
Linked to #21
The seedbox consists of two parts:
Prerequisites
PYTHONPATH
(below the bash example)Torrent seeding
To start torrents' seeding run the following script:
Consider the following folder structure:
In this particular example,
seeder.py
will create two torrents:sub_directory.torrent
andsub_directory2.torrent
.seeder.py
will start to seed them through BitTorrent protocol after creating.Data disseminating
To start disseminating data through Tribler's network run the following script:
This script will create a channel and will disseminate it to Tribler.
Consider the following folder structure:
Above you can see two "special" files:
The channel will be created with description based on these files.
As the channel name, the source folder's name will be used.
Error reporting
In case you want errors to be reported, you can use Sentry
To enable error reporting, specify the following environment variable:
URL can be taken directly from a corresponding Sentry project.
Generate test data
The following script generates
1GB
dataset divided into1024
folders:References: