-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.sh
More file actions
44 lines (36 loc) · 1012 Bytes
/
Copy pathsetup.sh
File metadata and controls
44 lines (36 loc) · 1012 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
37
38
39
40
41
42
43
44
#!/bin/bash
echo "🚀 Meta Signals Extraction - Quick Setup"
echo "====================================="
echo ""
echo "📋 Step 1: Creating virtual environment..."
python3 -m venv venv
if [ $? -ne 0 ]; then
echo "❌ Failed to create virtual environment"
echo "Please ensure Python 3 is installed"
exit 1
fi
echo "✅ Virtual environment created"
echo ""
echo "📋 Step 2: Activating virtual environment..."
source venv/bin/activate
echo ""
echo "📋 Step 3: Upgrading pip..."
python -m pip install --upgrade pip
echo ""
echo "📋 Step 4: Installing dependencies..."
pip install -r requirements.txt
if [ $? -ne 0 ]; then
echo "❌ Failed to install dependencies"
echo "Please check requirements.txt and internet connection"
exit 1
fi
echo ""
echo "📋 Step 5: Running setup script..."
python setup.py
echo ""
echo "🎉 Setup complete!"
echo ""
echo "Next steps:"
echo "1. Edit config/config.json and add your Discord token"
echo "2. Run: python extract_signals.py"
echo ""