docs(main_local.sh): 添加注释以明确脚本执行步骤
在main_local.sh脚本中添加注释,明确每个步骤的作用,提高代码可读性和维护性
This commit is contained in:
1 parent
6eccf5e24a
commit
1ab893fb73
1 file changed
+3
@@ -1,8 +1,11 @@
|
|||||||
|
# 第1步:下载init_env.sh
|
||||||
cd ~ || exit
|
cd ~ || exit
|
||||||
wget -O ~/.init_env.sh https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/init_env.sh
|
wget -O ~/.init_env.sh https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/init_env.sh
|
||||||
chmod +x ~/.init_env.sh
|
chmod +x ~/.init_env.sh
|
||||||
|
|
||||||
|
# 第2步:执行init_env.sh
|
||||||
~/.init_env.sh
|
~/.init_env.sh
|
||||||
|
|
||||||
|
# 第3步:运行docker-compose,安装必要容器服务
|
||||||
cd /home/app
|
cd /home/app
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
Reference in new issue
Block a user