๐Ÿฑ Project/Review Web 1

Django - #1. ํ™˜๊ฒฝ ๋งŒ๋“ค๊ธฐ

๊ทธ๋™์•ˆ Django์— ๋Œ€ํ•ด์„œ ๊ณต๋ถ€ํ•œ ๊ฒƒ๋“ค์„ ์‚ฌ์šฉํ•ด์„œ ์ฑ…์— ๋Œ€ํ•œ ์ •๋ณด๋ฅผ ํ™•์ธํ•˜๊ณ , ๋Œ“๊ธ€์„ ๋‹ฌ ์ˆ˜ ์žˆ๋Š” ์›น ํŽ˜์ด์ง€๋ฅผ ๊ฐ„๋‹จํ•˜๊ฒŒ ์ œ์ž‘ํ•ด ๋ณด๋ ค๊ณ  ํ•œ๋‹ค. ์šฐ์„ , ํ”„๋กœ์ ํŠธ๋ฅผ ์‹œ์ž‘ํ•˜๊ธฐ ์ „์— ์šฐ์„  ๊ฐ€์ƒํ™˜๊ฒฝ์„ ๋งŒ๋“ค์–ด ์ค€๋‹ค. ๊ฐ€์ƒํ™˜๊ฒฝ, ํŒจํ‚ค์ง€ ์„ค์น˜ ๊ฐ€์ƒํ™˜๊ฒฝ ์„ค์น˜ python -m venv venv ๊ฐ€์ƒํ™˜๊ฒฝ ์ผœ๊ธฐ source venv/Scipts/activate ๊ฐ€์ƒํ™˜๊ฒฝ ์ข…๋ฃŒ deactivate ๊ฐ€์ƒํ™˜๊ฒฝ ์ค€๋น„๊ฐ€ ๋๋‹ค๋ฉด requirements.txt ๋ฅผ ์‚ฌ์šฉํ•ด ์žฅ๊ณ ์™€ ํ•„์š”ํ•œ ํŒจํ‚ค์ง€๋ฅผ ์„ค์น˜ํ•œ๋‹ค. pip install -r requirements.txt ํŒจํ‚ค์ง€ ๋ชฉ๋ก์„ ์ƒ์„ฑํ•˜๋Š” ์ฝ”๋“œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค. pip freeze > requirements.txt ์žฅ๊ณ  ํ”„๋กœ์ ํŠธ, ์•ฑ ์ƒ์„ฑ ์žฅ๊ณ  ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ django-admin startpr..