安装鲁班H5

论坛 期权论坛 脚本     
已经选择匿名的用户   2021-10-25 13:36   4336   0

yum install nodejs

npm install -g cnpm --registry=https://registry.npm.taobao.org

npm install -g cnpm --registry=https://registry.npm.taobao.org
1013 curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
1014 yum install -y yarn
1015 yarn -v
1016 npm install -g pm2
1017 pm2 -v
1018 df -h
1019 git -v
1020 git -version

git clone https://github.com/ly525/luban-h5.git
1023 cd luban-h5/
1024 ./luban-h5.sh init
1025 ls
1026 ll
1027 ./luban-h5.sh start
1028 pm2 list
1029 ls
1030 cd back-end/
1031 ls
1032 cd h5-api/
1033 ls
1034 ll
1035 cd api

./luban-h5.sh init

./luban-h5.sh start

./luban-h5.sh stop

pm2 list

-------------------

分别更新编译front 与backend

cd front-end/h5 && yarn && yarn build


cd back-end/h5-api && yarn && NODE_ENV=production yarn build


分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:86
帖子:240
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP