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:
53
QUICK_START.sh
Executable file
53
QUICK_START.sh
Executable file
@@ -0,0 +1,53 @@
|
||||
#!/bin/bash
|
||||
# Quick Start Script for Vehicle Database with RockAuto Integration
|
||||
|
||||
echo "==========================================="
|
||||
echo "Vehicle Database & RockAuto Data Integration"
|
||||
echo "==========================================="
|
||||
echo ""
|
||||
echo "Welcome! This system allows you to create a comprehensive vehicle database"
|
||||
echo "with information from RockAuto.com (via manual extraction)."
|
||||
echo ""
|
||||
echo "STEP 1: Explore the existing database"
|
||||
echo "-------------------------------------"
|
||||
echo "Start the query interface to see existing data:"
|
||||
echo " cd vehicle_database"
|
||||
echo " python3 scripts/query_interface.py"
|
||||
echo ""
|
||||
echo "STEP 2: Add more data from RockAuto.com"
|
||||
echo "---------------------------------------"
|
||||
echo "Since RockAuto.com has anti-bot measures, you'll need to manually"
|
||||
echo "extract data. Here's how:"
|
||||
echo ""
|
||||
echo "1. Visit https://www.rockauto.com/catalog/"
|
||||
echo "2. Browse through manufacturers, models, years, and engines"
|
||||
echo "3. Note down the information you find"
|
||||
echo "4. Add it to your database using Python:"
|
||||
echo ""
|
||||
echo " from vehicle_scraper.manual_input_simple import ManualDataInput"
|
||||
echo " input_tool = ManualDataInput(db_path='vehicle_database/vehicle_database.db')"
|
||||
echo " input_tool.add_vehicle_data('Make', 'Model', Year, 'Engine')"
|
||||
echo ""
|
||||
echo "STEP 3: Database structure"
|
||||
echo "--------------------------"
|
||||
echo "The database contains these tables:"
|
||||
echo "- brands: Vehicle manufacturers"
|
||||
echo "- models: Vehicle models"
|
||||
echo "- years: Production years"
|
||||
echo "- engines: Engine specifications"
|
||||
echo "- model_year_engine: Links between all the above"
|
||||
echo ""
|
||||
echo "STEP 4: Sample queries"
|
||||
echo "----------------------"
|
||||
echo "Try these queries in the interface:"
|
||||
echo "- Search for all Toyotas: Brand = 'Toyota'"
|
||||
echo "- Find 2020 models: Year = 2020"
|
||||
echo "- Look for turbo engines: Engine = 'Turbo'"
|
||||
echo ""
|
||||
echo "Your database is located at: vehicle_database/vehicle_database.db"
|
||||
echo ""
|
||||
echo "To see all available scripts:"
|
||||
echo " ls -la vehicle_database/scripts/"
|
||||
echo ""
|
||||
echo "Ready to start building your vehicle database!"
|
||||
echo "=============================================="
|
||||
Reference in New Issue
Block a user