Initial commit: Gridseed WebGUI implementation
This commit is contained in:
19
start_gui.sh
Executable file
19
start_gui.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user