SOY NV AI
๋ฉํ๋ฐ์ดํฐ ์์ฑ ๊ธฐ๋ฅ ๊ฐ์ : ๊ธฐ์กด ๋ฉํ๋ฐ์ดํฐ ๋ณํฉ ๋ฐ ํ์ฐจ ์ ๋ณด ์ ์ง
d234e06
| # Git ์๊ฒฉ ์ ์ฅ์ ์ค์ ๊ฐ์ด๋ | |
| ## ํ์ฌ ์ํ | |
| - โ ๋ก์ปฌ Git ์ ์ฅ์ ์ด๊ธฐํ ์๋ฃ | |
| - โ ๋ชจ๋ ํ์ผ ์ปค๋ฐ ์๋ฃ | |
| - โ master ๋ธ๋์น ์ค๋น ์๋ฃ | |
| ## ์๊ฒฉ ์ ์ฅ์ ์ค์ ๋ฐฉ๋ฒ | |
| ### 1. GitHub์ ์ ์ ์ฅ์ ๋ง๋ค๊ธฐ | |
| 1. GitHub์ ๋ก๊ทธ์ธ: https://github.com | |
| 2. ์ฐ์ธก ์๋จ์ **+** ๋ฒํผ ํด๋ฆญ โ **New repository** ์ ํ | |
| 3. ์ ์ฅ์ ์ ๋ณด ์ ๋ ฅ: | |
| - Repository name: `soy-nv-ai` (๋๋ ์ํ๋ ์ด๋ฆ) | |
| - Description: `SOY NV AI - Web novel training system with RAG functionality` | |
| - Public ๋๋ Private ์ ํ | |
| - **โ ๏ธ ์ค์: "Initialize this repository with a README" ์ฒดํฌํ์ง ๋ง์ธ์!** | |
| 4. **Create repository** ํด๋ฆญ | |
| ### 2. ์๊ฒฉ ์ ์ฅ์ ์ฐ๊ฒฐ ๋ฐ ํธ์ | |
| #### ๋ฐฉ๋ฒ 1: PowerShell ์คํฌ๋ฆฝํธ ์ฌ์ฉ (๊ถ์ฅ) | |
| ```powershell | |
| .\setup_remote.ps1 | |
| ``` | |
| ์คํฌ๋ฆฝํธ๊ฐ ์๊ฒฉ ์ ์ฅ์ URL์ ์ ๋ ฅ๋ฐ๊ณ ์๋์ผ๋ก ์ค์ ํฉ๋๋ค. | |
| #### ๋ฐฉ๋ฒ 2: ์๋์ผ๋ก ์ค์ | |
| ```powershell | |
| # ์๊ฒฉ ์ ์ฅ์ ์ถ๊ฐ (GitHub ์ ์ฅ์ URL๋ก ๋ณ๊ฒฝ) | |
| git remote add origin https://github.com/์ฌ์ฉ์๋ช /์ ์ฅ์๋ช .git | |
| # ์๊ฒฉ ์ ์ฅ์ ํ์ธ | |
| git remote -v | |
| # ๋ง์คํฐ ๋ธ๋์น ํธ์ | |
| git push -u origin master | |
| ``` | |
| ### 3. GitHub CLI ์ฌ์ฉ (์ ํ์ฌํญ) | |
| GitHub CLI๊ฐ ์ค์น๋์ด ์๋ค๋ฉด: | |
| ```powershell | |
| # ์ ์ ์ฅ์ ์์ฑ ๋ฐ ํธ์ | |
| gh repo create soy-nv-ai --public --source=. --remote=origin --push | |
| ``` | |
| ## ์ฃผ์์ฌํญ | |
| - `.gitignore` ํ์ผ์ ๋ค์์ด ํฌํจ๋์ด ์์ต๋๋ค: | |
| - `venv/` - ๊ฐ์ํ๊ฒฝ | |
| - `instance/` - ๋ฐ์ดํฐ๋ฒ ์ด์ค ํ์ผ | |
| - `uploads/*` - ์ ๋ก๋๋ ํ์ผ | |
| - `__pycache__/` - Python ์บ์ | |
| - ๋ฏผ๊ฐํ ์ ๋ณด๋ ์ปค๋ฐํ์ง ๋ง์ธ์: | |
| - ๋น๋ฐ๋ฒํธ | |
| - API ํค | |
| - ๋ฐ์ดํฐ๋ฒ ์ด์ค ํ์ผ | |
| ## ๋ค์ ๋จ๊ณ | |
| ์๊ฒฉ ์ ์ฅ์ ์ค์ ํ: | |
| 1. GitHub์์ ์ ์ฅ์ ํ์ธ | |
| 2. ํ์์ `.env` ํ์ผ์ ์ถ๊ฐํ์ฌ ํ๊ฒฝ ๋ณ์ ๊ด๋ฆฌ | |
| 3. README.md ์ ๋ฐ์ดํธ (ํ๋ก์ ํธ ์ค๋ช ์ถ๊ฐ) | |