dollhouse-pwa/README.md

36 lines
963 B
Markdown

# My Dollhouse
A small Phaser.js PWA built around the dollhouse concept art created in ChatGPT.
## Current prototype
- Single open two-storey dollhouse environment
- Bedroom, bathroom, hall/stairs, kitchen, living and play spaces visible together
- Keyboard and touch movement
- Stair interaction to move between floors
- Pastel furniture sprite set layered over the house
- Furniture dragging in Decorate mode
- Add/reset furniture controls
- House layout and player position persisted in IndexedDB
- Offline-capable installable PWA
- Service worker configured to take new versions automatically
## Development
```bash
npm install
npm run dev
```
## Build
```bash
npm run build
```
The Dockerfile builds the Vite app and serves it with nginx on port 80. `/health` is provided for Coolify health checks.
## Deployment
Coolify tracks the `main` branch. The installed PWA is configured to take service-worker updates automatically after a new deployment.