작업실(studio): 작품 검색·수정·커밋·되돌리기 화면 (로컬 8081)

This commit is contained in:
koreafood committed 2026-10-31 10:37:16 +09:00
1 parent 8248ba94d8
commit 6249317528
10 files changed
+1204 -1

No files matched your search

+6
View File
@@ -6,6 +6,7 @@
## 0. 절대 규칙
1. **DB·서버·CMS 를 만들지 않는다.** 정적 HTML/CSS/JS 만. Node/npm/pip 패키지 금지.
- 예외: `studio/` 는 사이트가 아니라 **아이맥 로컬 편집 도구**다(표준 라이브러리만, 127.0.0.1 전용, `dist/` 에 포함되지 않음). 이 예외를 근거로 사이트에 서버 기능을 붙이지 않는다.
2. **빌드는 `python3 build.py` 하나.** 표준 라이브러리만 사용.
3. **모든 링크·이미지 경로는 상대경로.** 사이트는 `https://home.lala.dedyn.io/teamat/` 서브패스에서 서빙된다.
4. **`dist/` 는 커밋하지 않는다.** 소스에서 언제든 재생성된다. 롤백 단위는 커밋 하나.
@@ -36,6 +37,10 @@ scripts/
preview.sh 로컬 미리보기(빌드 후 8080 서빙)
deploy.sh dist → QNAP 웹루트 rsync
rollback.sh 커밋 되돌리기 + 재빌드·재배포
studio.sh 로컬 편집 도구 실행(8081)
studio/
server.py 작품 md 조회·수정 API (127.0.0.1 전용, 표준 라이브러리)
app.html 작업실 화면(목록+검색+편집+이력)
dist/ 빌드 산출물(.gitignore)
```
@@ -148,6 +153,7 @@ image_alt: 조각보
```bash
python3 build.py # 빌드
bash scripts/preview.sh # 빌드 + http://localhost:8080
bash scripts/studio.sh # 작품 편집 화면 http://localhost:8081
git add -A && git commit -m "작품 추가: 목련 티매트"
git push
bash scripts/deploy.sh # QNAP 배포 (rsync)