docs: update lite deployment and feature docs

This commit is contained in:
JetSprow
2026-05-01 04:56:06 +10:00
parent f4d71ca526
commit 8034392408
8 changed files with 279 additions and 37 deletions

View File

@@ -190,7 +190,7 @@ write_systemd_service() {
local service_tmp="$TMP_DIR/${SERVICE_NAME}.service"
cat > "$service_tmp" <<SERVICE
[Unit]
Description=J-Board Probe Agent
Description=J-Board Lite Agent
After=network-online.target
Wants=network-online.target
@@ -221,7 +221,7 @@ DOWNLOAD_URL="${DOWNLOAD_BASE}/${ASSET}"
CHECKSUM_URL="${DOWNLOAD_BASE}/SHA256SUMS"
echo "[1/10] Release tag: ${RESOLVED_TAG}"
echo "[2/10] Downloading probe agent binary: ${ASSET}"
echo "[2/10] Downloading agent binary: ${ASSET}"
curl -fsSL "$DOWNLOAD_URL" -o "$TMP_DIR/$ASSET"
if curl -fsSL "$CHECKSUM_URL" -o "$TMP_DIR/SHA256SUMS" 2>/dev/null; then

View File

@@ -239,7 +239,7 @@ load_resource_helpers() {
}
prepare_repo() {
section "准备 J-Board 代码"
section "准备 J-Board Lite 代码"
local default_dir
default_dir="$(resolve_default_app_dir)"
@@ -253,7 +253,7 @@ prepare_repo() {
git_in_repo pull --ff-only origin "$BRANCH"
elif [ -e "$APP_DIR" ] && [ "$(find "$APP_DIR" -mindepth 1 -maxdepth 1 2>/dev/null | wc -l | tr -d ' ')" != "0" ]; then
echo "安装目录已存在且不为空:$APP_DIR" >&2
echo "请换一个目录,或设置 APP_DIR 指向空目录/已有 J-Board 仓库。" >&2
echo "请换一个目录,或设置 APP_DIR 指向空目录/已有 J-Board Lite 仓库。" >&2
exit 1
else
run_as_root mkdir -p "$(dirname "$APP_DIR")"
@@ -291,7 +291,7 @@ write_env() {
tmp="$(mktemp)"
{
printf '# J-Board panel\n'
printf '# J-Board Lite Docker panel\n'
printf 'APP_PORT="%s"\n' "$(env_escape "$APP_PORT")"
printf 'SITE_NAME="%s"\n' "$(env_escape "$SITE_NAME")"
printf '\n# SQLite for local tools and Docker\n'
@@ -499,7 +499,7 @@ print_summary() {
}
main() {
section "J-Board 一键部署向导"
section "J-Board Lite Docker 一键部署向导"
echo "这个脚本会安装 Docker、准备配置、初始化数据库并启动面板。"
echo "适合全新 Linux 服务器;已有环境会尽量保留现有 .env。"

View File

@@ -222,7 +222,7 @@ write_systemd_service() {
local service_tmp="$TMP_DIR/${SERVICE_NAME}.service"
cat > "$service_tmp" <<SERVICE
[Unit]
Description=J-Board Probe Agent
Description=J-Board Lite Agent
After=network-online.target
Wants=network-online.target
@@ -253,7 +253,7 @@ DOWNLOAD_URL="${DOWNLOAD_BASE}/${ASSET}"
CHECKSUM_URL="${DOWNLOAD_BASE}/SHA256SUMS"
echo "[1/7] Release tag: ${RESOLVED_TAG}"
echo "[2/7] Downloading probe agent binary: ${ASSET}"
echo "[2/7] Downloading agent binary: ${ASSET}"
curl -fsSL "$DOWNLOAD_URL" -o "$TMP_DIR/$ASSET"
if curl -fsSL "$CHECKSUM_URL" -o "$TMP_DIR/SHA256SUMS" 2>/dev/null; then