-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·45 lines (38 loc) · 1.1 KB
/
Copy pathsetup.sh
File metadata and controls
executable file
·45 lines (38 loc) · 1.1 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
#!/bin/bash
# MatchOracle — Setup Script
# Creates virtual environment and installs all dependencies
set -e
echo "=========================================="
echo " MatchOracle — Environment Setup"
echo "=========================================="
# Create virtual environment
if [ ! -d "venv" ]; then
echo "Creating virtual environment ..."
python3 -m venv venv
echo " Done."
else
echo "Virtual environment already exists."
fi
# Activate
source venv/bin/activate
# Upgrade pip
echo "Upgrading pip ..."
pip install --upgrade pip
# Install dependencies
echo "Installing dependencies ..."
pip install -r requirements.txt
echo ""
echo "=========================================="
echo " Setup complete!"
echo "=========================================="
echo ""
echo " Activate: source venv/bin/activate"
echo ""
echo " Usage:"
echo " 1. Fetch data: python data/generator.py"
echo " 2. Features: python features/engine.py"
echo " 3. Predictions: python models/run_pipeline.py"
echo ""
echo " Fast mode (skip slow APIs):"
echo " python data/generator.py --fast"
echo ""