Initial commit: Sistema Autoparts DB

- Base de datos SQLite con información de vehículos
- Dashboard web con Flask y Bootstrap
- Scripts de web scraping para RockAuto
- Interfaz CLI para consultas
- Documentación completa del proyecto

Incluye:
- 12 marcas de vehículos
- 10,923 modelos
- 10,919 especificaciones de motores
- 12,075 combinaciones modelo-año-motor
This commit is contained in:
2026-01-19 08:45:03 +00:00
commit f395d67136
59 changed files with 10881 additions and 0 deletions

30
dashboard/start_dashboard.sh Executable file
View File

@@ -0,0 +1,30 @@
#!/bin/bash
# Startup script for Vehicle Dashboard
echo "Vehicle Dashboard Startup Script"
echo "================================"
# Check if the vehicle database exists
if [ ! -f "../vehicle_database/vehicle_database.db" ]; then
echo "Error: Vehicle database not found!"
echo "Please make sure you have created the vehicle database first."
exit 1
fi
echo "Vehicle database found."
# Check if Flask is available
if python3 -c "import flask" &> /dev/null; then
echo "Flask is available."
else
echo "Installing Flask..."
sudo apt-get update
sudo apt-get install -y python3-flask
fi
echo "Starting Vehicle Dashboard Server..."
echo "Access the dashboard at: http://localhost:5000"
echo "Press Ctrl+C to stop the server."
cd /home/Autopartes/dashboard
python3 server.py