דלגו לתוכן

Quick start

תוכן זה אינו זמין עדיין בשפה שלך.

You need Docker, JDK 21 and uv (for the Python parts). From the repository root:

Terminal window
docker compose up -d # the message broker and PostgreSQL
ADI_SEED_DEMO=true ./gradlew :backend:run # the server on :8080; the seed creates the demo ward on an empty database
./gradlew :composeApp:run # the nurse station (control room PIN 1234)

Then start the simulated ward (see Running a demo) and approve its sensors in the control room.

Terminal window
./gradlew :androidApp:assembleDebug
adb install androidApp/build/outputs/apk/debug/androidApp-debug.apk

On the Android emulator the app connects to the laptop by itself (http://10.0.2.2:8080). On a real phone, set the laptop’s address under Control room → Settings → Connection.

Terminal window
./gradlew build # Kotlin: lint, about 500 tests, the Android app
cd edge/simulator && uv run pytest