-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
69 lines (59 loc) · 1.47 KB
/
Copy pathsetup.sh
File metadata and controls
69 lines (59 loc) · 1.47 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/bin/bash
# Proactive AI Assistant - Setup Script for macOS/Linux
# Run with: chmod +x setup.sh && ./setup.sh
echo ""
echo "🎯 Proactive AI Assistant - Setup"
echo ""
# Check Node.js
echo "Checking Node.js..."
if command -v node &> /dev/null; then
NODE_VERSION=$(node --version)
echo "✓ Node.js $NODE_VERSION found"
else
echo "✗ Node.js not found! Please install from https://nodejs.org/"
exit 1
fi
# Install dependencies
echo ""
echo "Installing dependencies..."
if npm install; then
echo "✓ Dependencies installed"
else
echo "✗ Failed to install dependencies"
exit 1
fi
# Generate icons
echo ""
echo "Generating icon files..."
if node scripts/create-simple-icons.js; then
echo "✓ Icon files created"
else
echo "✗ Failed to create icons"
exit 1
fi
# Build extension
echo ""
echo "Building extension..."
if npm run build; then
echo "✓ Extension built successfully"
else
echo "✗ Build failed"
exit 1
fi
echo ""
echo "✅ Setup Complete!"
echo ""
echo "Next steps:"
echo "1. Open Chrome and go to: chrome://extensions/"
echo "2. Enable 'Developer mode' (top right)"
echo "3. Click 'Load unpacked'"
echo "4. Select the 'dist' folder"
echo "5. Click the extension icon and configure your API key"
echo ""
echo "📚 Documentation:"
echo " - QUICKSTART.md - Quick start guide"
echo " - README.md - Full documentation"
echo " - FEATURES.md - All features"
echo ""
echo "🎉 Happy browsing with AI assistance!"
echo ""