Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 633 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 633 Bytes

gostr

a nostr relay written in go

requirements

  • go
  • postgres
  • docker and docker compose if you don't want to install postgres

how to run

  1. Clone the project

  2. Install postgres or with docker with something like this and do docker compose up -d

  3. Put the values in the config.json file:

{
	"host": "{HOST}",
	"user": "{POSTGRES_USER}",
	"password": "{POSTGRES_PW}",
	"dbname": "{DB_NAME}"
}
  1. With go installed, run go build .

  2. Run it ./gostr