-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.sh
More file actions
executable file
·44 lines (38 loc) · 1.13 KB
/
run.sh
File metadata and controls
executable file
·44 lines (38 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
# Quick run script for the AI Car Maintenance Predictor
echo "🚗 AI Car Maintenance Predictor - Quick Start"
echo "=============================================="
# Navigate to project directory
cd "/Users/jasonwilliam/Desktop/ai maintainence"
# Activate virtual environment
source venv/bin/activate
echo "📊 Choose an option:"
echo "1. Run Data Pipeline (scraper + preprocessing + training)"
echo "2. Launch Dashboard"
echo "3. Test Utilities"
echo "4. View Project Structure"
read -p "Enter choice (1-4): " choice
case $choice in
1)
echo "🔄 Running complete data pipeline..."
python src/scraper.py
python src/preprocess.py
python src/train_model.py
echo "✅ Pipeline complete!"
;;
2)
echo "🚀 Launching Streamlit dashboard..."
streamlit run app/dashboard.py --server.headless=true
;;
3)
echo "🧪 Testing utility functions..."
python src/utils.py
;;
4)
echo "📁 Project structure:"
tree -I 'venv|__pycache__|*.pyc|.git' -L 3
;;
*)
echo "❌ Invalid choice"
;;
esac