Files
scroll/prover-stats-api/README
2023-07-19 09:58:49 +08:00

31 lines
481 B
Plaintext

# prover-stats-api
## how to get the prover-stats-api docs
### 1. start the prover-stats-api server
```
cd ./prover-stats-api
go build -o prover-stats ./cmd/
./prover-stats --config=./conf/config.json
```
you will get server run log
```
Listening and serving HTTP on :8990
```
### 2. browse the documents
open this documents in your browser
```
http://localhost:8990/swagger/index.html
```
## how to update the prover-stats-api docs
```
cd ./prover-stats-api
make swag
```