Added Documentation

This commit is contained in:
jerryipsum
2025-04-09 20:31:43 +01:00
parent 98ab5f7893
commit 90f240025c
+9 -5
View File
@@ -1,17 +1,21 @@
#!/bin/bash
echo "🔧 Installing dependencies for ComfyUI_UploadToWebHook..."
echo "🔧 Installing dependencies for ComfyUI_LoadImageFromHttpURL..."
# Exit immediately if a command exits with a non-zero status
# Exit immediately on error
set -e
# Activate venv if in ComfyUI RunPod or similar
# Activate virtual environment if it exists
if [ -d "../../venv" ]; then
echo "📦 Activating virtual environment..."
echo "📦 Activating ComfyUI virtual environment..."
source ../../venv/bin/activate
else
echo "⚠️ No virtual environment found at ../../venv"
echo "➡️ Continuing with system/global Python environment"
fi
# Install requirements
# Install required packages
echo "📥 Installing from requirements.txt..."
pip install -r requirements.txt
echo "✅ Installation complete!"