11 Commits

Author SHA1 Message Date
pelpanagiotis
ac0aaef0e4 Include assets in git to fix Docker build 2026-04-27 23:11:19 +03:00
pelpanagiotis
0ae97fdb3a Changed Node Image for Coolify 2026-04-27 22:56:44 +03:00
pelpanagiotis
50be1cdf35 chore(needle): version MenuScene src/generated and stop ignoring it
Track codegen output so clones build without a local Unity export step for
those files; remove src/generated/ from Needle app .gitignore.

Made-with: Cursor
2026-04-20 08:00:49 +03:00
pelpanagiotis
3499f8257a chore: multi-stage Docker Needle build and trim MenuScene dist assets
Build MenuScene in Docker; ignore dist in context; remove bundled dist chunks;
update MenuScene index and MenuController bob defaults.

Made-with: Cursor
2026-04-20 07:46:34 +03:00
pelpanagiotis
e2e5e47077 chore(needle): rebuild MenuScene dist from latest Unity export
Production vite build copies assets/MenuScene.glb and bundled chunks into dist/.

Made-with: Cursor
2026-04-20 00:15:44 +03:00
pelpanagiotis
400b6d6f09 fix(menu): load pizza GLB at runtime when scene export has no mesh
Exported MenuScene.glb had cc0_-_pizza_salami with MeshRenderer but null
materials and no glTF mesh buffers (common when Unity imported an LFS pointer).
Add include/dishes standalone GLB and dishMeshFallback to GLTFLoader-inject
geometry when a dish root has no meshes. Track include/dishes outside Git LFS.

Made-with: Cursor
2026-04-20 00:07:33 +03:00
pelpanagiotis
0200cd8082 fix(needle): correct vite gzip option and rebuild dist
Replace invalid ddeleteOriginalAssets with deleteOriginalAssets: false so
vite-plugin-compression2 keeps uncompressed JS/CSS alongside .gz files.
Without this, index.html referenced missing chunks and the scene failed to load.
Rebuild MenuScene and SampleScene production bundles.

Made-with: Cursor
2026-04-19 23:58:16 +03:00
pelpanagiotis
dc6c134c2e fix: store Needle dist assets as plain git blobs, not LFS pointers
Git LFS pointer text was being served as MenuScene.glb, breaking GLTF JSON parse.
Override filter for Needle/**/dist/** so static hosting and Docker get real binaries.

Made-with: Cursor
2026-04-19 23:49:07 +03:00
pelpanagiotis
6947303755 Commit Needle production dist and nginx-only Docker image
- Track Needle/MenuScene/dist and Needle/SampleScene/dist for container deploys
- Dockerfile copies pre-built dist (no npm in image); rebuild with npm run build before commit
- Fix Needle .gitignore: /assets/ so dist/assets is not ignored
- Git LFS: track *.wasm; relax .dockerignore so dist is sent as build context

Made-with: Cursor
2026-04-19 23:39:59 +03:00
pelpanagiotis
479e9bb979 Add Docker image and compose for Needle web exports
Serve production Vite dist with nginx; optional SampleScene profile.

Made-with: Cursor
2026-04-19 23:05:50 +03:00
pelpanagiotis
a7c53a08a0 Initial commit: Unity Needle AR Menu project with MenuScene and SampleScene web apps
Add root .gitignore for Unity Library/Temp/Logs, IDE folders, and node_modules.
Include Assets, Needle TypeScript (MenuController, asset picker, WebXR), and project configuration.

Made-with: Cursor
2026-04-19 22:41:05 +03:00