#!/bin/bash
echo "=== PM2 LOGS ==="
pm2 logs sneakerpicks --lines 20 --nostream 2>&1

echo "=== ENV CHECK ==="
cat /var/www/sneakerpicks/.env 2>/dev/null | grep DATABASE

echo "=== HOMEPAGE HTML SNIPPET ==="
curl -s http://localhost:3001/ | grep -oP '[0-9].*sneakers' | head -3
