From 6c577daf5d39156b8508d7c910f5f31df4f7a42c Mon Sep 17 00:00:00 2001 From: kuaifan Date: Thu, 9 Dec 2021 15:17:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=84=9A=E6=9C=AC=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd b/cmd index de98655e..0e13872c 100755 --- a/cmd +++ b/cmd @@ -182,8 +182,8 @@ env_init() { #################################################################################### #################################################################################### -env_init check_docker +env_init if [ $# -gt 0 ]; then if [[ "$1" == "init" ]] || [[ "$1" == "install" ]]; then @@ -200,6 +200,8 @@ if [ $# -gt 0 ]; then run_exec php "php bin/run --mode=prod" docker-compose stop docker-compose start + echo -e "${OK} ${GreenBG} 安装完成 ${Font}" + echo -e "地址: http://${GreenBG}127.0.0.1:$(env_get APP_PORT)${Font}" run_exec mariadb "sh /etc/mysql/repassword.sh" elif [[ "$1" == "update" ]]; then shift 1