From 1ab893fb7304abb210e0fb92a1ff6f36c9c3f8b1 Mon Sep 17 00:00:00 2001 From: Kenny Yang Date: Mon, 19 May 2025 23:18:58 +0800 Subject: [PATCH] =?UTF-8?q?docs(main=5Flocal.sh):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BB=A5=E6=98=8E=E7=A1=AE=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E6=AD=A5=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在main_local.sh脚本中添加注释,明确每个步骤的作用,提高代码可读性和维护性 --- main_local.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main_local.sh b/main_local.sh index e317ad2..2d295da 100644 --- a/main_local.sh +++ b/main_local.sh @@ -1,8 +1,11 @@ +# 第1步:下载init_env.sh cd ~ || exit wget -O ~/.init_env.sh https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/init_env.sh chmod +x ~/.init_env.sh +# 第2步:执行init_env.sh ~/.init_env.sh +# 第3步:运行docker-compose,安装必要容器服务 cd /home/app docker compose up -d \ No newline at end of file