# My commands (git-ignored)

**Run tests (private DB, own MQTT id)** - own MQTT id so the test run doesn't kick the devteam app off the broker
```bash
MQTT_CLIENT_ID=rohan_calllog MIX_TEST_PARTITION=_calllog mix test test/da_product_app/ysp_card test/da_product_app/activity 2>&1 | tail -30
```

**Terminal 1: simulator** - port 4180, from the repo root
```bash
cd ysp-simulator && mix run --no-halt
```

**Terminal 2: middle layer** - port 4006, own MQTT id; logs calls to ysp_api_calls_test
```bash
YSP_CARD_BASE_URL=http://localhost:4180 MQTT_CLIENT_ID=rohan_calllog mix phx.server
```
