- Update
VITE_DM_SOCKET_URLin.envso that it doesn't point to the production environment (comment the line with the production URL, uncomment the other one) - Run
pnpm dev:whattheduckfrom the root of this repository. This will start:- The DM Web interface
- The DM API
- A Web version of WTD, which in itself is limited as it can't use any mobile capabilities (like cover search)
- EXPERIMENTAL: You can also run the native Android app by calling
pnpm dev:whattheduck:androidfrom the root of this repository. In this case you will need to edit your local public IP in capacitor.config.ts and capacitor.config.json. This will start:- The DM Web interface
- The DM API
- The native WTD Android app.
The dev:android script loads the app from the dev server (HTTP), so WebSocket connections (ws://) work via server.url on the same network. Prerequisites:
- Start the API (e.g. "Debug DM API + WTD Android" compound, or
pnpm dev:whattheduckin another terminal) - Run:
pnpm dev:whattheduck:androidorpnpm dev:android