Skip to content

Commit

Permalink
VSCode 사용한 디버깅 환경 설정 파일 추가 (#30)
Browse files Browse the repository at this point in the history
* add: NestJS 디버그 설정 파일 추가

* up: NestJS 디버깅 실행 방법 설명 수정

* up: K8S 레플리카 숫자 변경

* up: 버전 정보 업데이트
  • Loading branch information
jp3pe authored and parkgang committed Nov 23, 2021
1 parent b561abd commit dde034a
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"configurations": [
{
"command": "npm i && npm run prebuild && npm run start:dev",
"name": "Nestjs start",
"request": "launch",
"type": "node-terminal"
},
]
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
### 개발 환경

1. .env.dev 파일에 특이사항이 있는 경우 수정합니다.
1. `npm i && npm run start:dev` 명령을 이용해 mock service를 시작합니다.
1. VSCode 디버그 창 내부에 있는 NestJS start 버튼을 눌러 시작합니다.

### QA/production 환경

Expand Down
2 changes: 1 addition & 1 deletion k8s/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: mock-service
namespace: prod
spec:
replicas: 3
replicas: 2
selector:
matchLabels:
app: mock-service
Expand Down
2 changes: 1 addition & 1 deletion k8s/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: mock-service
namespace: qa
spec:
replicas: 3
replicas: 2
selector:
matchLabels:
app: mock-service
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mock-service",
"version": "0.3.1",
"version": "0.4.0",
"description": "",
"author": "",
"private": true,
Expand Down

0 comments on commit dde034a

Please sign in to comment.