a nostr relay written in go
- go
- postgres
- docker and docker compose if you don't want to install postgres
-
Clone the project
-
Install postgres or with docker with something like this and do
docker compose up -d
-
Put the values in the
config.json
file:
{
"host": "{HOST}",
"user": "{POSTGRES_USER}",
"password": "{POSTGRES_PW}",
"dbname": "{DB_NAME}"
}
-
With go installed, run
go build .
-
Run it
./gostr