Prerequisites / 准备
- Node.js
>=22.13.0 - npm
- Git
- A cloned fork or copy of
ACondaway/HOME-3D - Cloudflare secrets already configured in GitHub for automatic deployment
1. Install and run / 安装与启动
localhost、127.x.x.x 和 ::1。
Save and upload endpoints exist only in the local Vite server and accept loopback hosts/origins such as localhost, 127.x.x.x, and ::1.
2. Customize profile and content / 编辑资料与内容
In Profile:- replace display name and intro copy;
- set the city;
- set the author’s IANA timezone or
GMT/UTCfixed offset.
- edit Chinese and English separately;
- configure mirror bio, portrait, alt text, and social buttons;
- upload every camera-page photo and choose one Spotlight;
- add text, media, or links cards.
3. Compose the scene / 编辑场景
In Scene layout you can:- move, rotate, and scale built-ins;
- disable a built-in and reactivate it later;
- replace only a built-in’s visual with a GLB;
- add custom decorative or interactive GLBs;
- edit interactive custom content with the same card system.
Scale remains a numeric control.
4. Understand uploads / 理解上传
Images write immediately to:/uploads/models/<uuid>.glb URL. Only models still referenced when you click Save to project move into public/uploads/models.
GLB 会先以未来 URL 进行预览;只有保存时仍被引用的模型才进入 public/uploads/models。
5. Save to the repository / 保存到代码仓库
Save to project performs one local transaction:The browser draft
living-index.content-draft.v1 exists only for ?studio=1. Normal published routes ignore it. Reset draft returns Studio to the published state.浏览器草稿只服务 ?studio=1。普通发布路由忽略它;Reset draft 会让 Studio 回到已发布状态。6. Validate / 验证
- Chinese and English content;
- portrait and social icons;
- every photo and Spotlight;
- plane, height, and heading placement;
- decorative assets cannot open content;
- interactive assets work through both 3D and the semantic index;
- imported PBR GLBs respond to day/night lighting;
- a normal route without
?studio=1matches committed content.
7. Commit and publish / 提交与发布
Import and export / 导入与导出
JSON import/export does not include image or GLB binaries and does not regenerate scene source by itself. To migrate content:- copy the referenced uploads;
- import JSON in a local
?studio=1; - click Save to project;
- validate and commit all resulting files together.