From 98ab5f7893275a9ea83fc7471d22c5bbbaa8cce9 Mon Sep 17 00:00:00 2001 From: jerryipsum Date: Wed, 9 Apr 2025 20:30:23 +0100 Subject: [PATCH] Added Documentation --- install.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..9053fa6 --- /dev/null +++ b/install.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +echo "🔧 Installing dependencies for ComfyUI_UploadToWebHook..." + +# Exit immediately if a command exits with a non-zero status +set -e + +# Activate venv if in ComfyUI RunPod or similar +if [ -d "../../venv" ]; then + echo "📦 Activating virtual environment..." + source ../../venv/bin/activate +fi + +# Install requirements +pip install -r requirements.txt + +echo "✅ Installation complete!"