Skip to content

elnosh/gostr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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