# To run a relay in 3 lines ## Prerequsites Install docker ## Install nostr-rs-relay sudo docker pull scsibug/nostr-rs-relay ## Run relay mkdir data sudo docker run -it -p 4100:8080 --mount src=$(pwd)/data,target=/usr/src/app/db,type=bind scsibug/nostr-rs-relay:latest ## Result Relay will be running on port 4100 and events will be in ./data ## Testing echo '["REQ","sub",{}]' | websocat -n ws://localhost:4100 Requires websocat, and some events