Consolidates the Termux SMS server code (previously in a separate campaign_connector git submodule) into termux-sms/ at repo root. Updates phone clone commands to use sparse checkout so only the termux-sms/ directory is downloaded onto the Android device. Bunker Admin
17 lines
625 B
Bash
Executable File
17 lines
625 B
Bash
Executable File
# Monitoring Interface startup script
|
|
|
|
cd ~/projects/sms-campaign-manager
|
|
|
|
echo "🚀 Starting Monitoring Interface..."
|
|
echo "📱 Device IP: $(ifconfig 2>/dev/null | grep -A1 wlan0 | grep inet | awk '{print $2}' | cut -d: -f2)"
|
|
echo "🌐 Monitoring URL: http://$(ifconfig 2>/dev/null | grep -A1 wlan0 | grep inet | awk '{print $2}' | cut -d: -f2):5000"
|
|
|
|
# Kill any existing monitoring process
|
|
pkill -f "python app.py" 2>/dev/null
|
|
|
|
# Start the monitoring interface in background
|
|
nohup python app.py > ~/logs/monitoring.log 2>&1 &
|
|
|
|
echo "✅ Monitoring interface started (PID: $!)"
|
|
echo "📊 Access: http://10.0.0.193:5000"
|