mirror of
https://github.com/leonvanzyl/autocoder.git
synced 2026-01-31 14:43:35 +00:00
basic ui
This commit is contained in:
27
start_ui.sh
Normal file
27
start_ui.sh
Normal file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
# Autonomous Coder UI Launcher for Unix/Linux/macOS
|
||||
# This script launches the web UI for the autonomous coding agent.
|
||||
|
||||
echo ""
|
||||
echo "===================================="
|
||||
echo " Autonomous Coder UI"
|
||||
echo "===================================="
|
||||
echo ""
|
||||
|
||||
# Get the directory where this script is located
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
# Check if Python is available
|
||||
if ! command -v python3 &> /dev/null; then
|
||||
if ! command -v python &> /dev/null; then
|
||||
echo "ERROR: Python not found"
|
||||
echo "Please install Python from https://python.org"
|
||||
exit 1
|
||||
fi
|
||||
PYTHON_CMD="python"
|
||||
else
|
||||
PYTHON_CMD="python3"
|
||||
fi
|
||||
|
||||
# Run the Python launcher
|
||||
$PYTHON_CMD "$SCRIPT_DIR/start_ui.py" "$@"
|
||||
Reference in New Issue
Block a user