Skip to content

Commit

Permalink
docs: README.md 빌드 방법 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
publdaze authored Jul 31, 2023
1 parent 86d5fe3 commit 80f016c
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
## SmartTrashCan 프로젝트

root path에 `.env` 파일이 필요합니다.
### How to Deploy

1. root path에 `.env` 파일 추가
```dotenv
# 예시
MONGO_URL="mongodb://localhost:27017"
```
MONGODB_URL={{ mongodb://localhost:27017 }}
JWT_SECRET_KEY={{ secretKey }}
```

2. 필요한 패키지 설치
```bash
$ npm install
```

3. production 배포
```bash
$ npm run start:prod
```

0 comments on commit 80f016c

Please sign in to comment.