mirror of
https://github.com/leonvanzyl/autocoder.git
synced 2026-01-30 06:12:06 +00:00
26 lines
628 B
Bash
26 lines
628 B
Bash
#!/bin/bash
|
|
cd "$(dirname "$0")"
|
|
# AutoCoder UI Launcher for Unix/Linux/macOS
|
|
# This script launches the web UI for the autonomous coding agent.
|
|
|
|
echo ""
|
|
echo "===================================="
|
|
echo " AutoCoder UI"
|
|
echo "===================================="
|
|
echo ""
|
|
|
|
# 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 start_ui.py "$@"
|