Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 904 Bytes

README.md

File metadata and controls

49 lines (31 loc) · 904 Bytes

codecov

AnotherAirAccountCommunityNode

A decentration community node for AirAccount

What's Community Node

TBD

Prepare

Pgsql

docker run --name community_node -e POSTGRES_PASSWORD=mypassword -d -p 5432:5432 postgres

Quick Start

1. Swagger

1.1 install

go get -u github.com/swaggo/swag
go install github.com/swaggo/swag/cmd/swag@latest

1.2 init swag

swag init --pd -g ./main.go

FAQ: Unknown LeftDelim and RightDelim in swag.Spec

2. Run

go mod tidy
go run ./cmd/server/main.go

Docker启动

docker-compose -f ./example/one-click-deploy/docker-compose.yaml up -d