-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTART_HERE.sh
More file actions
executable file
·50 lines (43 loc) · 1.3 KB
/
START_HERE.sh
File metadata and controls
executable file
·50 lines (43 loc) · 1.3 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
#!/bin/bash
echo "======================================"
echo "DocketAssist v3 - Startup Script"
echo "======================================"
echo ""
# Check if we're in the right directory
if [ ! -d "backend" ] || [ ! -d "frontend" ]; then
echo "Error: Please run this script from /Users/jackson/docketassist-v3/"
exit 1
fi
echo "Step 1: Setting up Backend..."
cd backend
# Create venv if it doesn't exist
if [ ! -d "venv" ]; then
echo "Creating virtual environment..."
python3 -m venv venv
fi
# Activate venv
source venv/bin/activate
# Install requirements
echo "Installing Python dependencies..."
pip install -q -r requirements.txt
echo ""
echo "✅ Backend setup complete!"
echo ""
echo "======================================"
echo "NOW RUN THESE COMMANDS:"
echo "======================================"
echo ""
echo "1️⃣ Start Backend (in this terminal):"
echo " cd /Users/jackson/docketassist-v3/backend"
echo " source venv/bin/activate"
echo " uvicorn app.main:app --reload --host 0.0.0.0 --port 8000"
echo ""
echo "2️⃣ Start Frontend (in a NEW terminal):"
echo " cd /Users/jackson/docketassist-v3/frontend"
echo " npm install"
echo " npm run dev"
echo ""
echo "3️⃣ Open browser:"
echo " http://localhost:3000"
echo ""
echo "======================================"