Correct readme for torrent example
This commit is contained in:
parent
3c72babcbc
commit
fa010f3179
21
examples/torrent/README.md
Normal file
21
examples/torrent/README.md
Normal file
@ -0,0 +1,21 @@
|
||||
Example of using torrent transport with solar. Torrent is used to distribute task data. After fetching is finished torrent client forks and continues seeding.
|
||||
|
||||
|
||||
The example contains single node with single host mapping + transports.
|
||||
|
||||
Execute:
|
||||
```
|
||||
python examples/torrent/example.py
|
||||
solar changes stage
|
||||
solar changes process
|
||||
solar orch run-once last
|
||||
```
|
||||
|
||||
Wait for finish:
|
||||
|
||||
```
|
||||
solar orch report last -w 100
|
||||
```
|
||||
|
||||
After this you should see new entry in `/etc/hosts` file.
|
||||
|
@ -1,11 +1,3 @@
|
||||
# To run:
|
||||
# python example-riaks.py deploy
|
||||
# python example-riaks.py add_haproxies
|
||||
# solar changes stage
|
||||
# solar changes process
|
||||
# solar orch run-once last
|
||||
|
||||
|
||||
import time
|
||||
|
||||
from solar.core.resource import virtual_resource as vr
|
||||
|
Loading…
x
Reference in New Issue
Block a user