This repository was archived by the owner on Oct 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Original file line number Diff line number Diff line change 553 . Execute the smoke tests:
66
77 ``` console
8- cargo run --bin udp_tracker_client announce 144.126.245.19:6969 9c38422213e30bff212b30c360d26f9a02136422
8+ # Clone Torrust Tracker
9+ git@github.com:torrust/torrust-tracker.git
10+ cd torrust-tracker
11+ ```
12+
13+ Execute the following commands to run the tracker client and checker.
14+
15+ Simulate a torrent announce to the tracker using UDP:
16+
17+ ```console
18+ cargo run -p torrust-tracker-client --bin udp_tracker_client announce udp://tracker.torrust-demo.com:6969/announce 9c38422213e30bff212b30c360d26f9a02136422 | jq
19+ ```
920
10- cargo run --bin http_tracker_client announce 144.126.245.19:6969 9c38422213e30bff212b30c360d26f9a02136422
21+ Simulate a torrent scrape to the tracker using HTTP:
1122
23+ ```console
24+ cargo run -p torrust-tracker-client --bin http_tracker_client announce https://tracker.torrust-demo.com 9c38422213e30bff212b30c360d26f9a02136422 | jq
25+ ```
26+
27+ Make a request to the health check endpoint:
28+
29+ ```console
1230 TORRUST_CHECKER_CONFIG='{
13- "udp_trackers": ["144.126.245.19 :6969"],
31+ "udp_trackers": ["udp://tracker.torrust-demo.com :6969/announce "],
1432 "http_trackers": ["https://tracker.torrust-demo.com"],
1533 "health_checks": ["https://tracker.torrust-demo.com/api/health_check"]
16- }' cargo run --bin tracker_checker
34+ }' cargo run -p torrust-tracker-client --bin tracker_checker
35+
1736 ```
1837
19384. Check the logs of the tracker container to see if everything is working:
You can’t perform that action at this time.
0 commit comments