Skip to content

Commit

Permalink
[FEAT] gunicorn 설치 및 실행 도입
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyineverywhere committed Jan 3, 2024
1 parent 403ee4e commit 0e65105
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
### 실행 명령어
```bash
uvicorn main:app --reload
```

```bash
gunicorn main:app --workers 2 --worker-class uvicorn.workers.UvicornWorker --access-logfile ./log.log
```
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ bcrypt
python-multipart
websockets
base64
BytesIO
BytesIO
gunicorn

0 comments on commit 0e65105

Please sign in to comment.