- Clone the repository
git clone github.com/supercmmetry/bandersnatch
- Change your working directory
cd bandersnatch
- Create a .env file with necessary key-value pairs.
Key | Value |
---|---|
DB_URI | "postgresql://localhost/bandersnatch?user=postgres&password=postgres&sslmode=disable" |
DEBUG | "true" |
PORT | "1729" |
JWT_PASSWORD | "password" |
NEXUS_FILE | "sample.json" |
- Manage your go modules
go mod tidy
-
Create a database in postgresql
-
Run your go program
go run main.go