Files
NecroHash/start_gui.sh
Gemini Bot 65408e4668
Some checks failed
Docker Build & Push / build-and-push (push) Failing after 6s
Rename to NecroHash, add remote, enhance dashboard for multi-device stats
2026-01-20 10:51:13 +00:00

20 lines
473 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 NecroHash WebGUI..."
# Run with gunicorn for production or python directly for dev.
# Using python for simplicity as requested on Pi 1
python app.py