Deployment
June 24, 2025 ยท View on GitHub
-
SSH into the server.
-
Execute the deployment script:
./bin/deploy-torrust-demo.com.sh. -
Execute the smoke tests:
# Clone Torrust Tracker git@github.com:torrust/torrust-tracker.git cd torrust-trackerExecute the following commands to run the tracker client and checker.
Simulate a torrent announce to the tracker using UDP:
cargo run -p torrust-tracker-client --bin udp_tracker_client announce udp://tracker.torrust-demo.com:6969/announce 9c38422213e30bff212b30c360d26f9a02136422 | jqSimulate a torrent scrape to the tracker using HTTP:
cargo run -p torrust-tracker-client --bin http_tracker_client announce https://tracker.torrust-demo.com 9c38422213e30bff212b30c360d26f9a02136422 | jqMake a request to the health check endpoint:
TORRUST_CHECKER_CONFIG='{ "udp_trackers": ["udp://tracker.torrust-demo.com:6969/announce"], "http_trackers": ["https://tracker.torrust-demo.com"], "health_checks": ["https://tracker.torrust-demo.com/api/health_check"] }' cargo run -p torrust-tracker-client --bin tracker_checker -
Check the logs of the tracker container to see if everything is working:
./share/bin/tracker-filtered-logs.sh