2 Star 0 Fork 0

深腾网络/巡河

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.sh 1.14 KB
一键复制 编辑 原始数据 按行查看 历史
土豆豆fly 提交于 2019-01-17 12:23 . 初始化
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
LANG=en_US.UTF-8
export PATH
echo "
+----------------------------------------------------------------------
| ThinkAdmin environmental preparation tools
+----------------------------------------------------------------------
| GtiHub : https://github.com/zoujingli/ThinkAdmin
+----------------------------------------------------------------------
| document : https://www.kancloud.cn/zoujingli/thinkadmin/323614
+----------------------------------------------------------------------
"
hasComposer=`command -v composer`
echo -e "\033[34mConfirm the existence of the command....\033[0m"
if [ ! -f "${hasComposer}" ]; then
echo -e "\033[31mComposer Not Found! Initialization cannot continue. \033[0m"
exit
fi
echo -e "\033[34mClean up the running environment....\033[0m"
rm -rf ./vendor
rm -rf ./thinkphp
rm -rf ./composer.lock
echo -e "\033[34mComposer install....\033[0m"
composer install --profile --prefer-dist --optimize-autoloader
echo -e "\033[34mMake Autoload....\033[0m"
composer dump-autoload --optimize
echo -e "\033[31mEnvironmental preparation success!\033[0m"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/hunanshenteng_admin/river_patrol.git
git@gitee.com:hunanshenteng_admin/river_patrol.git
hunanshenteng_admin
river_patrol
巡河
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385