Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Feb 23, 2022
1 parent af8344c commit dbd59cd
Show file tree
Hide file tree
Showing 5 changed files with 9,563 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Homestead.yaml
npm-debug.log
yarn-error.log
test.*
composer.lock
package-lock.json
laravels-timer-process.pid
.DS_Store
Expand Down
9 changes: 7 additions & 2 deletions cmd
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,12 @@ if [ $# -gt 0 ]; then
exit 1
fi
# 初始化文件
rm -rf composer.lock
rm -rf package-lock.json
if [[ -n "$(arg_get relock)" ]]; then
rm -rf node_modules
rm -rf package-lock.json
rm -rf vendor
rm -rf composer.lock
fi
mkdir -p "${cur_path}/docker/log/supervisor"
mkdir -p "${cur_path}/docker/mysql/data"
chmod -R 775 "${cur_path}/docker/log/supervisor"
Expand Down Expand Up @@ -297,6 +301,7 @@ if [ $# -gt 0 ]; then
# 设置初始化密码
res=`run_exec mariadb "sh /etc/mysql/repassword.sh"`
docker-compose up -d
supervisorctl_restart php
echo -e "${OK} ${GreenBG} 安装完成 ${Font}"
echo -e "地址: http://${GreenBG}127.0.0.1:$(env_get APP_PORT)${Font}"
echo -e "$res"
Expand Down
Loading

0 comments on commit dbd59cd

Please sign in to comment.