데이터 파이프라인 구축
This commit is contained in:
39
README.md
39
README.md
@@ -1,3 +1,38 @@
|
||||
# ProjectMD
|
||||
# 🔧 개발 환경 설정 (Windows)
|
||||
|
||||
ProjectMD
|
||||
## 필수 요구사항
|
||||
- Python 3.7+ ([다운로드](https://www.python.org/downloads/))
|
||||
- Unity 2022.3+
|
||||
- Git for Windows
|
||||
|
||||
## Git Hooks 설치
|
||||
```batch
|
||||
REM PowerShell 실행 정책 설정 (최초 1회)
|
||||
powershell -Command "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser"
|
||||
|
||||
REM Hook 설치
|
||||
setup-hooks.bat
|
||||
```
|
||||
|
||||
## 데이터 작업 흐름
|
||||
|
||||
### 스키마 변경 시
|
||||
1. **스키마 변경** Notion에서 스키마 페이지 수정
|
||||
2. **프로그램 실행** `sync-from-notion.ps1` 우클릭 -> PowerShell에서 실행
|
||||
|
||||
### 데이터 변경 시
|
||||
1. **Excel 수정**: `GameData\Towers.xlsx` 편집
|
||||
2. **커밋**: git 커밋
|
||||
- ✅ 자동 검증
|
||||
- ✅ ScriptableObject 자동 생성
|
||||
3. **Push**: git 푸시
|
||||
|
||||
## 문제 해결
|
||||
|
||||
**Hook이 실행되지 않는 경우:**
|
||||
```batch
|
||||
setup-hooks.bat
|
||||
```
|
||||
|
||||
**Unity 경로 오류:**
|
||||
`git-hooks\post-commit.ps1`에서 Unity 경로 수정
|
||||
Reference in New Issue
Block a user