Skip to content

Commit a19152c

Browse files
committed
update: mysql 의존성 추가 및 프로퍼티 지정
1 parent 5e32815 commit a19152c

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/.idea
2+
/db.sqlite3

pyconkr/settings-prod.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1+
import os
2+
13
DEBUG = False
4+
5+
# RDS
6+
DATABASES = {
7+
"default": {
8+
"ENGINE": "mysql.connector.django",
9+
"NAME": os.getenv("AWS_RDS_DATABASE"),
10+
"USER": os.getenv("AWS_RDS_USER_ID"),
11+
"PASSWORD": os.getenv("AWS_RDS_PW"),
12+
"HOST": os.getenv("AWS_RDS_HOST"),
13+
"PORT": os.getenv("AWS_RDS_PORT"),
14+
}
15+
}

requirements.txt

164 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)