Files
NecroHash/start_gui.sh
2026-01-20 10:46:00 +00:00

20 lines
472 B
Bash
Executable File

#!/bin/bash
# Ensure we are in the script directory
cd "$(dirname "$0")"
# Check if virtual environment exists
if [ ! -d "venv" ]; then
echo "Creating virtual environment..."
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
else
source venv/bin/activate
fi
echo "Starting Gridseed WebGUI..."
# Run with gunicorn for production or python directly for dev.
# Using python for simplicity as requested on Pi 1
python app.py