Skip to content

Commit 1ee5d4f

Browse files
rlafurudclaude
andcommitted
docs: remove DEPLOY.md, simplify README run section (demo link + local game run)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f6ff4af commit 1ee5d4f

2 files changed

Lines changed: 28 additions & 48 deletions

File tree

DEPLOY.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

README.md

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -110,19 +110,36 @@ rtsgame/
110110

111111
---
112112

113-
## 실행 방법
113+
## 실행 방법
114+
115+
### 🔗 바로 체험 (설치 없이)
116+
117+
- **배포 데모:** https://rts-game-reokyoung-16359u66u-rlafuruds-projects.vercel.app/
118+
→ 프롬프트 생성 + 브라우저 시각화까지 바로 사용 가능.
119+
120+
> 배포본은 **생성 + 시각화**까지만 됩니다. 실제 BAR 게임 실행은 아래처럼 게임이 설치된 로컬 PC에서만 가능합니다.
121+
122+
### 🎮 로컬에 게임을 설치했을 때 (실제 BAR 실행까지)
123+
124+
**준비물**
125+
- [Beyond All Reason](https://www.beyondallreason.info/) 설치 (Windows)
126+
- 게임 런처 `minigame_generator_v4/` 폴더 (레포 미포함 — 별도로 보유해야 함)
127+
- Python, 그리고 `backend/.env``OPENAI_API_KEY` 입력
128+
129+
**실행 (원클릭)**
130+
1. (최초 1회) 프론트 빌드: `cd frontend && npm install && npm run build`
131+
2. 루트의 **`start_local.bat` 더블클릭** → 브라우저가 `http://localhost:8000` 자동 열림
132+
3. 프롬프트 생성 → **🎮 BAR에서 실행** → 실제 게임 창이 뜸
133+
134+
> 배포 사이트에서 실행 버튼을 눌러도, 켜져 있는 내 PC의 로컬 백엔드(`localhost:8000`)로 자동 연결돼 게임이 켜집니다. (Chrome 권장)
135+
136+
**개발 모드(핫리로드)로 따로 띄우려면:** `backend`에서 `uvicorn app:app --reload`, `frontend`에서 `npm run dev`.
137+
138+
### 테스트
114139

115140
```bash
116-
# 백엔드
117-
cd rtsgame/backend
118-
pip install -r requirements.txt
119-
cp .env.example .env # OPENAI_API_KEY 입력
120-
uvicorn app:app --reload # http://localhost:8000
121-
122-
# 프론트엔드
123-
cd rtsgame/frontend
124-
npm install
125-
npm run dev # http://localhost:5173
141+
cd backend && pip install -r requirements-dev.txt && python -m pytest # 백엔드
142+
cd frontend && npm test # 프론트 (vitest)
126143
```
127144

128145
---

0 commit comments

Comments
 (0)