Skip to content

Latest commit

Β 

History

History
23 lines (17 loc) Β· 1.05 KB

README.md

File metadata and controls

23 lines (17 loc) Β· 1.05 KB

2021_Capstone_CoderGarden

μ»€λ°‹κ·œμΉ™

1. νŒŒμΌμ„ μΆ”κ°€ν• λ•ŒλŠ” Add 파일λͺ…_μž‘μ„±μž (μ„ΈλΆ€ λ‚΄μš©μ—λŠ” μ–΄λ–  κΈ°λŠ₯을 ν•˜λŠ” νŒŒμΌμ„ μΆ”κ°€ν–ˆλŠ”μ§€ 적기)

2. νŒŒμΌμ„ μˆ˜μ •ν• λ•ŒλŠ” Mod 파일λͺ…_μž‘μ„±μž (μ„ΈλΆ€ λ‚΄μš©μ—λŠ” μ–΄λ– ν•œ κΈ°λŠ₯을 μˆ˜μ •ν•˜μ˜€λŠ”μ§€ 적기)

3. νŒŒμΌμ„ μ‚­μ œν• λ•ŒλŠ” Del 파일λͺ…_μž‘μ„±μž

graduate_help λ€ν”„νŒŒμΌ import ν•˜κΈ°

  1. MySQLμ—μ„œ create database capstone 둜 'capstone' λ°μ΄ν„°λ² μ΄μŠ€ 생성후 quit

  2. db.sql νŒŒμΌμ„ μ›ν•˜λŠ” μœ„μΉ˜μ— κ°€μ Έλ‹€ λ†“λŠ”λ‹€.

  3. 터미널 μ‹€ν–‰ ν›„ λ™μΌν•œ μœ„μΉ˜λ‘œ 터미널 이동 (MySQL 접속 X)

  4. mysql -u root -p capstone < db.sql λͺ…λ Ήμ–΄ μ‹€ν–‰ν•΄μ„œ import

Django - MySQL μ—°λ™ν•˜κΈ°

2021_Capstone_CoderGarden/config/my_Settings

  1. 각자 λ‘œμ»¬μ—μ„œ MySQL μ‹€ν–‰
  2. config > my_Settings.py > DATABASE νŒŒνŠΈμ—μ„œ PASSWORDλ₯Ό μžμ‹ μ˜ MySQL λΉ„λ°€λ²ˆν˜Έλ‘œ μ„€μ •
  3. python manage.py inspectdb λͺ…λ Ήμ–΄λ‘œ 연동 DB 감지 ν…ŒμŠ€νŠΈ.

youtube link

youtube[https://www.youtube.com/watch?v=zLQoVASa114]