Run the app and backend
Backend
bun run dev --filter=@openbeacon/backendThe API listens on OPENBEACON_API_PORT, 3000 by default.
Scheduled job runner
bun run dev --filter=@openbeacon/scheduled-jobsAndroid app
In apps/mobile, copy .env.example to .env. Set EXPO_PUBLIC_DEV_API_URL to your backend, using your machine's LAN address, or http://10.0.2.2:3000 from an Android emulator. Then:
cd apps/mobile
bun run androidFor iOS on macOS, run bun run ios from the same folder. The iPhone app isn't released yet.
Several emulators at once
bun run emulators starts the database, cache and backend, builds the Android app, and opens it on four emulators that move around Derby. bun run emulators:versions runs one emulator per Android version instead, or only the versions you list, such as bun run emulators:versions 24 36.
See Android emulators for every option, the memory each run needs, and the Android compatibility matrix.