Global Feed Post Login
Replying to Avatar Melvin Carvalho

# 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

Avatar
Golbez9🔩🤘 2y ago

I might give this a try

Reply to this note

Please Login to reply.

Discussion

Avatar
Melvin Carvalho 2y ago

do it!

Thread collapsed