Merge branch 'master' of http://khuhub.khu.ac.kr/cse437_e/smartdoorlock-backend
Showing
1 changed file
with
28 additions
and
0 deletions
README.md
0 → 100644
1 | +## Building | ||
2 | + | ||
3 | +### Python Version | ||
4 | + | ||
5 | + ~$ python3 --version | ||
6 | + Python 3.8.2 | ||
7 | + | ||
8 | +Python 가상환경 사용을 권장합니다. | ||
9 | + | ||
10 | +### pip, django | ||
11 | + | ||
12 | + ~$ python3 -m pip install --upgrade pip | ||
13 | + ~$ pip install django~=3.1.2 | ||
14 | + ... | ||
15 | + Successfully installed asgiref-3.2.10 django-3.1.2 pytz-2020.1 sqlparse-0.3.1 | ||
16 | + | ||
17 | +### Database | ||
18 | + | ||
19 | + ~/smartdoorlock-backend$ python manage.py migrate | ||
20 | + ~/smartdoorlock-backend$ python manage.py makemigrations | ||
21 | + | ||
22 | +### Run Server | ||
23 | + | ||
24 | + ~/smartdoorlock-backend$ python manage.py runserver | ||
25 | + | ||
26 | +http://127.0.0.1:8000/ 로 접속 | ||
27 | + | ||
28 | + |
-
Please register or login to post a comment