Files
scroll/prover-stats-api/README
Lawliet-Chan e3b451c641 feat(prover-stats-api): add prover stats API (#635)
Co-authored-by: xinran chen <lawliet@xinran-m1x.local>
Co-authored-by: georgehao <haohongfan@gmail.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-07-20 15:33:29 +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
```