fix: update setup script to resolve incorrect path configuration and missing dependencies

This commit is contained in:
bocil kematian 2026-06-23 00:02:34 +07:00
parent a812c22931
commit c1789b5775

View File

@ -18,9 +18,9 @@ echo "=========================================="
echo "" echo ""
# ── 1. Install system packages ──────────────────────────────────────────────── # ── 1. Install system packages ────────────────────────────────────────────────
echo "[1/6] Installing Nginx (forcing IPv4 to avoid IPv6 timeouts)..." echo "[1/6] Installing Nginx..."
sudo apt-get -o Acquire::ForceIPv4=true update sudo apt update
sudo apt-get -o Acquire::ForceIPv4=true install -y nginx sudo apt install -y nginx
# ── 2. Install Python packages ──────────────────────────────────────────────── # ── 2. Install Python packages ────────────────────────────────────────────────
echo "[2/6] Installing Python dependencies (including gunicorn)..." echo "[2/6] Installing Python dependencies (including gunicorn)..."