forked from PlebeiusGaragicus/VibeReaderTwo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfix-dependencies.sh
More file actions
executable file
·36 lines (31 loc) · 834 Bytes
/
fix-dependencies.sh
File metadata and controls
executable file
·36 lines (31 loc) · 834 Bytes
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
#!/bin/bash
# Fix dependencies after updating versions
set -e
echo "🔧 Fixing VibeReader Dependencies"
echo ""
# Fix backend
echo "📦 Updating backend dependencies..."
cd backend
if [ -d "venv" ]; then
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
echo "✅ Backend dependencies updated"
else
echo "⚠️ Backend venv not found. Run: python3 -m venv venv"
fi
cd ..
echo ""
# Fix desktop
echo "📦 Updating desktop dependencies..."
cd desktop
rm -rf node_modules package-lock.json
npm install
echo "✅ Desktop dependencies updated"
cd ..
echo ""
echo "✅ All dependencies fixed!"
echo ""
echo "Next steps:"
echo " 1. Test backend: cd backend && source venv/bin/activate && uvicorn app.main:app --reload"
echo " 2. Test desktop: ./start-dev.sh (choose option 4)"