Initial commit - estructura completa del proyecto

This commit is contained in:
2025-12-26 21:43:42 -06:00
commit 9bfb78c650
44 changed files with 721 additions and 0 deletions

48
check-status.sh Executable file
View File

@@ -0,0 +1,48 @@
#!/bin/bash
echo "🔍 Verificando estado de pycore ..."
echo "📊 Contenedores:"
docker-compose ps
echo ""
echo "🌐 Verificando servicios:"
# Esperar un poco para que todo esté listo
sleep 5
# Verificar backend
echo -n "Backend (8000): "
if curl -s http://localhost:8000 > /dev/null; then
echo "✅ OK"
else
echo "❌ Falló"
fi
# Verificar frontend
echo -n "Frontend (3000): "
if curl -s http://localhost:3000 > /dev/null; then
echo "✅ OK"
else
echo "❌ Falló"
fi
# Verificar pgadmin
echo -n "PgAdmin (5050): "
if curl -s http://localhost:5050 > /dev/null; then
echo "✅ OK"
else
echo "❌ Falló"
fi
# Verificar base de datos
echo -n "Base de datos: "
if docker-compose exec db pg_isready -U Scorpion -d pycore_db; then
echo "✅ OK"
else
echo "❌ Falló"
fi
echo ""
echo "📝 Logs recientes del backend:"
docker-compose logs backend --tail=5