This commit is contained in:
2025-06-16 08:27:55 -04:00
parent 987cce1687
commit 14f95e3192
17 changed files with 4098 additions and 0 deletions

20
backend/setup_backend.sh Normal file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Setup script for Velo Threat Hunter backend Python environment
set -e
echo "📦 Installing python3-venv (if not already)..."
sudo apt update
sudo apt install -y python3-venv
echo "🧪 Creating virtual environment..."
python3 -m venv venv
echo "✅ Activating virtual environment..."
source venv/bin/activate
echo "📄 Installing requirements..."
pip install -r requirements.txt
echo "🚀 Done! To activate later, run:"
echo "source venv/bin/activate"