Commit e566044f authored by Kunkka王辉's avatar Kunkka王辉 😲

删除多余的代码

parent 985f60da
...@@ -21,7 +21,7 @@ EOF ...@@ -21,7 +21,7 @@ EOF
if echo "$TAR_YES$GIT_YES$DOCKER_COMPOSE_YES$OS_IS_LINUX$DOCKER_YES$PORT_YES" | grep no >/dev/null ;then if echo "$TAR_YES$GIT_YES$DOCKER_COMPOSE_YES$OS_IS_LINUX$DOCKER_YES$PORT_YES" | grep no >/dev/null ;then
exit ; exit ;
fi fi
echo $@
# 变量声明 # 变量声明
ENV='dev' ENV='dev'
CODE_DIR=$(pwd)/code-$ENV CODE_DIR=$(pwd)/code-$ENV
...@@ -62,10 +62,6 @@ EOF ...@@ -62,10 +62,6 @@ EOF
echo '生成.env文件' echo '生成.env文件'
cat .env cat .env
echo '启动容器,检查端口是否占用' echo '启动容器,检查端口是否占用'
if ss -t
$COMPOSE_CMD up -d $COMPOSE_CMD up -d
cat <<EOF cat <<EOF
...@@ -74,5 +70,4 @@ http://本机ip:8118/ ...@@ -74,5 +70,4 @@ http://本机ip:8118/
http://本机ip:8181/ http://本机ip:8181/
安装完成! 安装完成!
EOF EOF
# xxx:1234/
# xxx:3322/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment