<oembed><type>rich</type><version>1.0</version><title>melvincarvalho wrote</title><author_name>melvincarvalho (npub1me…t5c24)</author_name><author_url>https://nostr.now/npub1melv683fw6n2mvhl5h6dhqd8mqfv3wmxnz4qph83ua4dk4006ezsrt5c24</author_url><provider_name>njump</provider_name><provider_url>https://nostr.now</provider_url><html># To run a relay in 3 lines&#xA;&#xA;## Prerequsites&#xA;&#xA;Install docker&#xA;&#xA;## Install nostr-rs-relay&#xA;&#xA;sudo docker pull scsibug/nostr-rs-relay&#xA;&#xA;## Run relay&#xA;&#xA;mkdir data&#xA;&#xA;sudo docker run -it -p 4100:8080   --mount src=$(pwd)/data,target=/usr/src/app/db,type=bind   scsibug/nostr-rs-relay:latest&#xA;&#xA;## Result&#xA;&#xA;Relay will be running on port 4100 and events will be in ./data&#xA;&#xA;## Testing&#xA;&#xA;echo &#39;[&#34;REQ&#34;,&#34;sub&#34;,{}]&#39; | websocat -n ws://localhost:4100&#xA;&#xA;Requires websocat, and some events</html></oembed>