- 표준(diadmin/AI_Wiki_Platform 38f17d7)을 new_project.py 방식으로 복사: PROJECT.md(개발용 · windows, mac, linux), CLAUDE.md, .claude, .obsidian, raw, assets, tools, wiki/00~09·99 (08_화면은 빈 구조, 포탈 예시 제외) - 프로젝트 문서 wiki/10_JJ_Ollama_Manager/: 00_홈(예전 wiki/00 홈.md 갱신 - host 방식·포트 전달), 01_설치, 02_메뉴_사용법, 03_ComfyUI, 04_문제_해결, 05_변경_기록, 06_작업_현황 (Gitea 위키 6페이지 + 10/29~11/3 내용 통합) - 사용자 지시 기록 20261103_1657_위키_정리 - .gitignore/.gitattributes 표준 규칙 합침, README에 위키 안내 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K3UWnbHEdCxxWhyNx7Cpd2
2.1 KiB
2.1 KiB
status
| status |
|---|
| 초안 |
01. Git / Gitea 사용 방법
저장소 역할
| 서버 | 용도 | 올리는 것 |
|---|---|---|
https://gitea.joynala.com/ |
작업 및 배포 | 프로젝트 소스 + 위키, 실행파일 릴리스, 표준 AI WIKI 플랫폼(diadmin/AI_Wiki_Platform) |
https://gitea2.joynala.com/ |
모듈·업무 | 모듈 저장소(module-*), 모듈 바이너리 릴리스 |
처음 한 번 (PC마다)
git config --global user.name "이름"
git config --global user.email "메일"
git config --global core.autocrlf input # Windows 는 true
git config --global core.quotepath false # 한글 파일명 깨짐 방지
git config --global credential.helper store # 또는 SSH 키 등록
새 프로젝트
python tools/new_project.py D:\work\내프로젝트 --type 개발용 --platforms android,windows
cd D:\work\내프로젝트
git init && git add . && git commit -m "init: 표준 AI WIKI 플랫폼"
git remote add origin https://gitea.joynala.com/<조직>/<프로젝트>.git
git push -u origin main
다른 PC에서 이어서 작업
git clone https://gitea.joynala.com/<조직>/<프로젝트>.git
# Obsidian: 폴더를 볼트로 열기 / Claude Code: 같은 폴더에서 claude 실행
작업 끝: git add . && git commit -m "내용" && git push / 작업 시작: git pull
표준 AI WIKI 플랫폼 갱신 받기
표준(wiki 규칙)이 바뀌면 https://gitea.joynala.com/diadmin/AI_Wiki_Platform 에서 표준 AI WIKI 플랫폼을 받아 wiki/02~07, 09, 99 와 CLAUDE.md, tools/ 만 덮어쓴다.
PROJECT.md, wiki/01_사용자지시, wiki/08_화면, raw/ 는 프로젝트 고유이므로 덮어쓰지 않는다.
→ python tools/new_project.py <프로젝트폴더> --update
올리지 않는 것 (.gitignore)
dist/, build/out/, .env, 대용량 영상, .obsidian/workspace*.json
현재 PPT·PDF·PNG 는 일반 바이너리로 저장 (.gitattributes). 대용량 원본(RFP PDF 등)이 많아지면 Git LFS 로 전환: git lfs track "*.pptx" "*.pdf" "*.png" (서버 LFS 사용 설정 확인 후)