-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-android.sh
More file actions
executable file
·32 lines (28 loc) · 888 Bytes
/
setup-android.sh
File metadata and controls
executable file
·32 lines (28 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
echo "========================================="
echo "SageTracker Android Setup"
echo "========================================="
echo ""
echo "This script will:"
echo " 1. Wait for the emulator to boot"
echo " 2. Build the Android app"
echo " 3. Install it on the emulator"
echo ""
# Check if the container is running
if ! docker ps --format '{{.Names}}' | grep -q "^sagetracker-android$"; then
echo "Error: Android emulator container is not running!"
echo ""
echo "Start it with:"
echo " docker-compose up -d"
echo ""
exit 1
fi
# Run the installation script inside the container
docker exec -it sagetracker-android /app/install-app.sh
echo ""
echo "Next steps:"
echo " 1. Open http://localhost:6080 in your browser"
echo " 2. Open the SageTracker app"
echo " 3. Login with your credentials"
echo " 4. Grant location permissions"
echo ""