Skip to content

Commit

Permalink
fix(docs): guide on running the server in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
litsynp committed Nov 14, 2023
1 parent 5638b5c commit f8f6466
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ $ docker-compose down -v # Postgres 컨테이너 중지 및 볼륨 삭제
개발 환경에서 실행하는 방법입니다.

```bash
$ go run cmd/server/main.go
$ go run ./cmd/server
```

배포 환경에서 빌드 및 실행하는 방법입니다.

```bash
$ go build -o main cmd/server/main.go
$ go build -o main ./cmd/server
$ ./main
```

Expand Down Expand Up @@ -80,13 +80,13 @@ $ migrate -path db/migrations -database DB_URL up
개발 환경에서는 다음과 같은 스크립트를 제공합니다.

```bash
$ go run cmd/migrate/main.go
$ go run ./cmd/migrate
```

배포 환경에서는 다음과 같은 스크립트를 제공합니다.

```bash
$ go build -o migrate cmd/migrate/main.go
$ go build -o migrate ./cmd/migrate
$ ./migrate
```

Expand Down

0 comments on commit f8f6466

Please sign in to comment.