Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 877 Bytes

03_usage.md

File metadata and controls

38 lines (30 loc) · 877 Bytes

Usage: How to start perjuryman

Requirement

First version of docker compose (as an alternative to the existing docker-compose). Supports some basic commands but not the complete functionality of docker-compose yet.

Languages / Frameworks Version
Golang 1.19.1
Docker Desktop 4.12.0
docker 20.10.17
docker-compose 1.29.2

Usage

### envをコピー
$ cp server/.env{.sample,}
$ cp client/.env{.sample,}

### docker-composeを起動
$ make up

### ルート認証局とサーバ証明書を準備
$ make exec/server
# make create/certificate

### 実行
---
### 1枚目のTerminal: Perjuryman server を起動
$ make exec/server
# make run

### 2枚目のTerminal: Perjuryman client を起動
$ make exec/client
# make run
---