Skip to content

πŸ’«μ„Έμ’…λŒ€ν•™κ΅ μ‘Έμ—…μš”κ±΄ 확인 μ‚¬μ΄νŠΈπŸ’«

Notifications You must be signed in to change notification settings

hon99oo/SejongGraduateHellper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SejongGraduateHellper

Commit κ·œμΉ™

1. νŒŒμΌμΆ”κ°€

Add 파일λͺ…_이름 ex) Add selenium.py_μ•ˆμž¬ν˜„
μ„ΈλΆ€λ‚΄μš©μ€ ν•œκΈ€λ‘œ 무슨 κΈ°λŠ₯을 ν•˜λŠ” νŒŒμΌμΈμ§€ μΆ”κ°€.

2. νŒŒμΌμˆ˜μ •

Modify 파일λͺ…_이름 ex) Modify manage.py_μ•ˆμž¬ν˜„
μ„ΈλΆ€λ‚΄μš©μ€ 무슨 λ‚΄μš© μˆ˜μ •ν•˜μ˜€λŠ”μ§€ μΆ”κ°€.

3. νŒŒμΌμ‚­μ œ

Delete 파일λͺ…_이름 ex) Delete init.py_μ•ˆμž¬ν˜„
μ„ΈλΆ€λ‚΄μš©μ€ 무슨파일 μ‚­μ œν•˜μ˜€λŠ”μ§€ μΆ”κ°€.

4. Pull Request

main λΈŒλžœμΉ˜λŠ” λͺ¨λ‘μ˜ μ‹œμž‘μ μ΄λ―€λ‘œ 병합할 λ•Œ μž„μ˜λ‘œ ν•˜μ§€ μ•Šκ³  νŒ€μ› 전원 승락 ν›„ 병합

5. Branch

μžμ‹ μ˜ λΈŒλžœμΉ˜μž„μ„ ν‘œμ‹œν•˜κ³ , 더 이상 μ‚¬μš©ν•˜μ§€ μ•ŠλŠ” λΈŒλžœμΉ˜λŠ” μ‚­μ œν•œλ‹€.


μ„œλ²„ ν™˜κ²½ μ„ΈνŒ…

Mac - Windows ν˜Έν™˜ μ•ˆλ˜λŠ” λΆ€λΆ„

    root = os.getcwd() + '\\app\\uploaded_media' # Windows
    root = os.getcwd() + '/app/uploaded_media'   # Mac
  • views.py μ—μ„œ μœ„μ˜ μ½”λ“œ 검색 ν›„ μžμ‹ μ˜ os에 λ§žλŠ” 경둜둜 μ„€μ •

μ„€μΉ˜ν•΄μ•Όν•˜λŠ” 라이브러리 λͺ©λ‘

κ°€μƒν™˜κ²½μ€ μ‚¬μš©ν•˜μ§€ μ•Šκ³  각자 λ‘œμ»¬μ— μ„€μΉ˜ν•˜κΈ°λ‘œ 함.

  • pip install django
  • pip install mysqlclient
  • pip install pandas
  • pip install xlrd
  • pip install selenium
  • pip install beutifulsoup4
  • pip install surprise
  • pip install pylint-django (vsμ½”λ“œ μ“°λŠ” μ‚¬λžŒλ§Œμ„€μΉ˜)

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

  1. MySQLμ—μ„œ create database graduate_help 둜 'graduate_help' λ°μ΄ν„°λ² μ΄μŠ€ 생성후 quit
  2. 압좕을 ν‘Ό graduate_help.sql νŒŒμΌμ„ μ›ν•˜λŠ” μœ„μΉ˜μ— κ°€μ Έλ‹€ λ†“λŠ”λ‹€.
  3. 터미널 μ‹€ν–‰ ν›„ λ™μΌν•œ μœ„μΉ˜λ‘œ 터미널 이동 (MySQL 접속 X)
  4. mysql -u root -p graduate_help < graduate_help.sql λͺ…λ Ήμ–΄ μ‹€ν–‰ν•΄μ„œ import

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

철자 μ‹€μˆ˜λ‘œ ν”„λ‘œμ νŠΈ μ„ΈνŒ… 폴더λͺ…이 project κ°€ μ•„λ‹Œ projcetμž„

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

About

πŸ’«μ„Έμ’…λŒ€ν•™κ΅ μ‘Έμ—…μš”κ±΄ 확인 μ‚¬μ΄νŠΈπŸ’«

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •