Point mobile app at nginx-fronted https://guidetest.vrubel.xyz/

Verified reachable end-to-end (health/nearby endpoints respond
correctly through the reverse proxy) and set as the preferred
API_BASE_URL for testing from a physical device on any network,
ahead of the LAN-IP and emulator-loopback fallbacks.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
vrubelroman 2026-07-09 20:10:40 +00:00
parent 6e90956b3e
commit 0cc8d9b767
2 changed files with 16 additions and 7 deletions

View file

@ -48,6 +48,10 @@ also reachable from other devices on the same LAN at
`http://<this-machine's-LAN-IP>:8000/` — no extra config needed, just make
sure nothing (firewall, VPN) blocks port 8000 on that interface.
It's also reverse-proxied behind nginx at **https://guidetest.vrubel.xyz/**,
which works from anywhere (not just the local network) and is the preferred
`API_BASE_URL` for the Android app during this test phase.
## Android quickstart
```bash
@ -57,10 +61,13 @@ cd android && ./gradlew :app:assembleDebug
```
Point the app's API base URL (`API_BASE_URL` in `local.properties`) at
`http://10.0.2.2:8000/` for the emulator, or your machine's LAN IP
(e.g. `http://192.168.8.173:8000/`) for a physical device on the same
`https://guidetest.vrubel.xyz/` (works from anywhere), `http://10.0.2.2:8000/`
for the emulator, or your machine's LAN IP for a physical device on the same
Wi-Fi/LAN.
Run unit tests before building — `./gradlew testDebugUnitTest`, then
`./gradlew :app:assembleDebug`.
## Notes / current scope
This is iteration 1: Moscow only (Gorky Park, Red Square area, Moscow-City),