云空调搭建教程

时间:2021-5-14    作者:z    分类: 较好文章


点击查看原图

部署在宝塔

1,在www/wwwroot创建一个文件夹如:ac

2,下载项目:https://github.com/YunYouJun/air-conditioner

3,解压

4,ssh运行下面命令

cd /www/wwwroot/ac
yarn install
yarn build

如果出现 yarn: command not found,安装yarn,输入命令:npm install -g yarn

5,宝塔安装PM2管理器,添加项目

点击查看原图

保存

6,启动,监听3000端口

点击查看原图

7,映射

点击查看原图

点击查看原图


8,最后域名解析到服务器ip,教程结束


关于项目

项目作者:云游君

项目原地址:https://github.com/YunYouJun/air-conditioner

演示地址

http://ac.52zzk.cn/


标签: 学习