Skip to content

Commit

Permalink
Update it16th Day21 code block
Browse files Browse the repository at this point in the history
  • Loading branch information
leoho0722 committed Sep 25, 2024
1 parent 103eabf commit e52000b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Writerside/topics/it-ironman/it16th/Day21.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@

可以透過 Visual Studio Code 的偵錯功能或是在 Terminal 輸入下面指令

```sh
```shell
go run main.go
```

WebAuthn RP Server run 起來之後,接著使用 ngrok 取得一個免費公開的測試用 domain

```sh
```shell
ngrok http 8080 # 8080 換成在 route.go 中設定的 port 號
```

##### Run PostgreSQL 資料庫

PostgreSQL 資料庫我們是使用 Docker Compose 執行的,所以就使用 docker compose 的指令來執行即可

```sh
```shell
docker compose up -d # -d 是為了讓他在背景跑,不會阻塞住當前 Terminal
```

Expand Down

0 comments on commit e52000b

Please sign in to comment.