Skip to content

Commit

Permalink
readmeをweb ui対応
Browse files Browse the repository at this point in the history
  • Loading branch information
mazrean committed Dec 7, 2024
1 parent abb5e22 commit 2ea1bc8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ ISUCON用のDBの各テーブルへのCRUDを可視化することで、キャ
1. Goのソースコードのプロジェクトルートに移動
2. isucrudを実行
```sh
isucrud ./...
isucrud -web ./...
```
3. `dbdoc.md`をMermaidに対応したマークダウンで開くとグラフを見れます
3. ブラウザでhttp://localhost:7070 にアクセスすると、グラフを見られます

## Install
```sh
Expand All @@ -21,6 +21,10 @@ go install github.com/mazrean/isucrud@latest
## Usage
```
Usage of isucrud:
-web
run as web server
-addr
web server address (default ":7070")
-dst string
destination file (default "./dbdoc.md")
-ignore value
Expand Down

0 comments on commit 2ea1bc8

Please sign in to comment.