From ca6142c39a0bc45f61742ead13dec3d567837318 Mon Sep 17 00:00:00 2001 From: Niranjan Date: Tue, 7 Apr 2026 02:42:07 +0530 Subject: [PATCH] Initial YakPanel commit --- YakPanel-server/README.md | 4 ++-- YakPanel-server/install.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/YakPanel-server/README.md b/YakPanel-server/README.md index c4aeba39..7ad36aa9 100644 --- a/YakPanel-server/README.md +++ b/YakPanel-server/README.md @@ -49,7 +49,7 @@ All native installs require **root**. Use `sudo -E ...` when you set environment | Variable | Meaning | Default | | --- | --- | --- | -| `REPO_URL` | Git URL to clone | `https://source.yakpanel.com/admin/yakpanel-core` (override for other mirrors) | +| `REPO_URL` | Git URL to clone | `https://source.yakpanel.com/admin/yakpanel-core.git` (override for other mirrors) | | `YAKPANEL_BRANCH` | Branch/tag for shallow clone | default branch | | `GIT_REF` | Alias for `YAKPANEL_BRANCH` | — | | `INSTALL_PATH` | Install directory | `/www/server/YakPanel-server` | @@ -103,7 +103,7 @@ sudo bash scripts/install.sh Uses `docker-compose.yml` in this directory — **not** the same layout as native (no host Nginx unit from `install.sh`). ```bash -git clone --depth 1 https://source.yakpanel.com/admin/yakpanel-core +git clone --depth 1 https://source.yakpanel.com/admin/yakpanel-core.git # Then cd to this folder (in the full monorepo it is under YakPanel-master/YakPanel-server). cd YakPanel-master/YakPanel-server docker compose up -d diff --git a/YakPanel-server/install.sh b/YakPanel-server/install.sh index 23087b0e..60e9f18b 100644 --- a/YakPanel-server/install.sh +++ b/YakPanel-server/install.sh @@ -9,7 +9,7 @@ # sudo -E bash install.sh # # Environment (optional): -# REPO_URL Git URL (default: https://source.yakpanel.com/admin/yakpanel-core) +# REPO_URL Git URL (default: https://source.yakpanel.com/admin/yakpanel-core.git) # YAKPANEL_BRANCH Branch/tag for shallow clone (default: default branch) # GIT_REF Alias for YAKPANEL_BRANCH # INSTALL_PATH Install dir (default: /www/server/YakPanel-server) @@ -22,7 +22,7 @@ set -euo pipefail -REPO_URL="${REPO_URL:-https://source.yakpanel.com/admin/yakpanel-core}" +REPO_URL="${REPO_URL:-https://source.yakpanel.com/admin/yakpanel-core.git}" INSTALL_PATH="${INSTALL_PATH:-/www/server/YakPanel-server}" PANEL_PORT="${PANEL_PORT:-8888}" BACKEND_PORT="${BACKEND_PORT:-8889}" @@ -213,7 +213,7 @@ else if ! "${CLONE_ARGS[@]}"; then echo "Git clone failed. Check REPO_URL=$REPO_URL, DNS, and outbound HTTPS." echo "If the server requires sign-in: allow anonymous clone for HTTP(S), or use a token in the URL, e.g." - echo " REPO_URL=https://USER:TOKEN@source.yakpanel.com/admin/yakpanel-core" + echo " REPO_URL=https://USER:TOKEN@source.yakpanel.com/admin/yakpanel-core.git" echo "Or override: REPO_URL=https://your.other.git/mirror.git" exit 1 fi