53 Star 610 Fork 134

GVPKai / Qwerty-Learner

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install.sh 618 Bytes
一键复制 编辑 原始数据 按行查看 历史
Iewnfod 提交于 2023-10-14 19:48 . Create Install.sh for MacOS (#674)
cd `dirname $0`
# 判断是否安装了 Node
if ! type node >/dev/null 2>&1; then
echo "未检测到nodejs环境,尝试使用homebrew安装..."
# 检测homebrew是否存在
if ! type brew >/dev/null 2>&1; then
echo "未检测到homebrew,无法完成安装,请安装homebrew或直接安装nodejs"
else
brew install node
fi
fi
cd ..
echo "开始安装依赖..."
yarn install --registry=https://registry.npm.taobao.org
echo "依赖安装完成,启动程序..."
# 在浏览器中打开
open http://localhost:5173/
# 本地开启服务
npm run start
# 返回原始目录并退出
cd `dirname $0`
exit
TypeScript
1
https://gitee.com/KaiyiWing/qwerty-learner.git
git@gitee.com:KaiyiWing/qwerty-learner.git
KaiyiWing
qwerty-learner
Qwerty-Learner
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891