L1 / Physical Infrastructure

Emulator Hosts

The Android device that runs the WhatsApp app for each Worker. Swappable adapter — MLI Cloud (primary), BlueStacks Local (fallback), LDPlayer (Path C).

API not connected

The dashboard needs VCC_API_URL + VCC_BOOTSTRAP_API_KEY env vars to talk to the api.

One-time bootstrap:

# 1. SSH into the api service (one-time):
railway run --service api npx ts-node scripts/bootstrap-client.ts

# 2. Copy the printed API key.

# 3. Set on dashboard service:
railway variables --service dashboard \
  --set "VCC_API_URL=https://api-production-3f51.up.railway.app" \
  --set "VCC_BOOTSTRAP_API_KEY=<paste-key-here>"

# 4. Wait ~60s for dashboard to redeploy with new env.