2021-12-02 10:48:04 +08:00
|
|
|
|
# DGIOT轻量级工业物联网开源平台
|
2021-05-18 14:54:48 +08:00
|
|
|
|
|
2021-05-30 17:15:32 +08:00
|
|
|
|
[![GitHub Release](https://img.shields.io/github/release/dgiot/dgiot?color=brightgreen)](https://github.com/dgiot/dgiot/releases)
|
|
|
|
|
[![Docker Pulls](https://img.shields.io/docker/pulls/dgiot/dgiot)](https://hub.docker.com/r/dgiot/dgiot)
|
2021-05-30 17:36:32 +08:00
|
|
|
|
[![Community](https://img.shields.io/badge/Community-DGIOT-yellow)](https://tech.iotn2n.com)
|
2021-12-02 10:48:29 +08:00
|
|
|
|
[![QQ群346566935](https://img.shields.io/badge/QQ群-346566935-brightgreen)](https://jq.qq.com/?_wv=1027&k=LipWZvDe)
|
2021-07-02 19:14:01 +08:00
|
|
|
|
[English](./README.md) | [简体中文](./README-CN.md) | [日本語](./README-JP.md) | [русский](./README-RU.md)
|
2021-12-04 16:30:53 +08:00
|
|
|
|
[github](https://github.com/dgiot?from=git)|[gitee](https://www.iotn2n.com?from=git)|[Web](https://www.iotn2n.com?from=git)|[Blog](https://tech.iotn2n.com?from=git)|[Demo](https://prod.iotn2n.com?from=git)|
|
2021-12-04 16:44:19 +08:00
|
|
|
|
## DG-IoT简介
|
2021-12-04 16:47:59 +08:00
|
|
|
|
DG-IoT是是国内首款轻量级完全开源工业物联网的平台,我们致力于提供四类物联网解决方案:
|
2021-12-03 16:54:16 +08:00
|
|
|
|
+ 国企研究院:平台代码开源,无版权产权困扰,国产无“卡脖”之忧。
|
|
|
|
|
+ 系统集成商:海量设备接入、多型号设备与传感器支持二次开发、一键式部署,私有化灵活部署、低成本(降90%成本)
|
|
|
|
|
+ 工业设备制造商:海量设备上线运维,不受公有云限制,低成本,短周期自建平台,私有化部署,数据安全
|
|
|
|
|
+ 开源平台开发者:利用开源平台,快速直接承接项目,可利用平台丰富的已支持设备和场景,集成和兼容各种最优开源工具
|
2021-12-04 16:49:51 +08:00
|
|
|
|
## 业务架构
|
2021-12-04 16:38:35 +08:00
|
|
|
|
![](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/msys64/dgiot_arch.jpg)
|
2021-12-02 19:33:28 +08:00
|
|
|
|
## 核心特色
|
2021-12-03 17:18:50 +08:00
|
|
|
|
+ 前后端[完全开源](https://github.com/dgiot/dgiot/blob/master/Platform-service.md) ,无收费商业版
|
2021-12-04 16:44:19 +08:00
|
|
|
|
+ 支持私有化一键式部署,快速拥有自己的轻量级物联网平台
|
2021-12-02 19:33:28 +08:00
|
|
|
|
+ 千万级长连接承载,电信级稳定性
|
2021-12-04 16:44:19 +08:00
|
|
|
|
+ 物模型-规则引擎-数据通道-组态页面全流程可视化低代码开发
|
2021-12-02 19:33:28 +08:00
|
|
|
|
+ 多行业工业协议兼容
|
2021-12-04 16:39:09 +08:00
|
|
|
|
## 快速体验
|
|
|
|
|
|扫描关注|[快速体验](https://prod.iotn2n.com/)|账号|密码|
|
|
|
|
|
|---|---|---|---|
|
|
|
|
|
|![](https://user-images.githubusercontent.com/51999461/144572983-16bf3223-a00b-4cd6-9446-cb652f81c8af.png)|![](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/dgiot_release/dgiot_wechat.jpg)|dgiot_admin|dgiot_admin|
|
|
|
|
|
|![](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/wechat/qrcode.png)|![](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/dgiot_release/dgiot_dashboard.png) |dgiot_admin|dgiot_admin|
|
2021-12-04 15:52:54 +08:00
|
|
|
|
## 一键部署
|
2021-12-04 16:06:22 +08:00
|
|
|
|
+ **centos 7.6/7.9** 推荐使用腾讯云和阿里云
|
2021-12-04 15:52:54 +08:00
|
|
|
|
```
|
|
|
|
|
wget -q https://gitee.com/dgiiot/dgiot/raw/master/dgiot_install.sh && sh dgiot_install.sh
|
|
|
|
|
```
|
2021-12-04 16:49:51 +08:00
|
|
|
|
## 构建
|
2021-09-09 14:38:55 +08:00
|
|
|
|
构建 *dgiot* 需要 Erlang/OTP R21+, Windows下用 [msys64](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/msys64/msys64.zip)开发。下载后解压到D盘根目录,严格按照下图操作:
|
2021-08-06 11:02:57 +08:00
|
|
|
|
![效果图-1.png](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/msys64/%E6%95%88%E6%9E%9C%E5%9B%BE-1.png)
|
2021-06-17 18:34:17 +08:00
|
|
|
|
+ 国外下载源码
|
|
|
|
|
```bash
|
|
|
|
|
git clone https://github.com/dgiot/dgiot_dashboard.git
|
|
|
|
|
git clone https://github.com/dgiot/dgiot.git
|
|
|
|
|
```
|
|
|
|
|
+ 国内下载源码
|
|
|
|
|
```bash
|
|
|
|
|
git clone https://gitee.com/dgiiot/dgiot_dashboard.git
|
2021-07-02 18:06:58 +08:00
|
|
|
|
git clone https://gitee.com/dgiiot/dgiot.git
|
2021-06-17 18:34:17 +08:00
|
|
|
|
```
|
|
|
|
|
+ 国内Linux/Unix/Mac/windows 构建
|
|
|
|
|
```bash
|
|
|
|
|
cd dgiot_dashboard
|
2021-06-22 19:28:39 +08:00
|
|
|
|
git pull
|
2021-07-28 16:36:06 +08:00
|
|
|
|
yarn dgiot:install
|
2021-06-17 18:34:17 +08:00
|
|
|
|
yarn build
|
|
|
|
|
cd ../dgiot
|
2021-06-22 19:28:39 +08:00
|
|
|
|
git pull
|
2021-06-22 18:26:46 +08:00
|
|
|
|
rm ./apps/dgiot_api/priv/www -rf
|
2021-06-18 09:11:36 +08:00
|
|
|
|
cp ../dgiot_dashboard/dist/ ./apps/dgiot_api/priv/www -rf
|
|
|
|
|
cp ../dgiot_dashboard/swagger ./apps/dgiot_api/priv/www/ -rf
|
2021-06-21 13:44:46 +08:00
|
|
|
|
make run
|
2021-06-21 09:30:47 +08:00
|
|
|
|
```
|
2021-06-21 13:44:46 +08:00
|
|
|
|
+ Make Debug
|
2021-06-21 09:30:47 +08:00
|
|
|
|
```
|
2021-06-21 13:44:46 +08:00
|
|
|
|
make DIAGNOSTIC=1
|
2021-06-21 09:30:47 +08:00
|
|
|
|
```
|
2021-05-30 17:15:32 +08:00
|
|
|
|
*DGIOT* 启动,可以使用浏览器访问 http://localhost:5080 来查看 Dashboard。
|
2021-05-18 14:54:48 +08:00
|
|
|
|
|
2021-05-30 17:47:11 +08:00
|
|
|
|
- 新功能的完整列表,请参阅 [DGIOT Release Notes](https://github.com/dgiot/dgiot/releases)。
|
|
|
|
|
- 获取更多信息,请访问 [DGIOT 官网](https://tech.iotn2n.com/)。
|
2021-09-08 19:14:09 +08:00
|
|
|
|
|
2021-12-02 10:51:13 +08:00
|
|
|
|
## 参与设计
|
2021-05-18 14:54:48 +08:00
|
|
|
|
|
2021-05-30 17:15:32 +08:00
|
|
|
|
如果对 DGIOT 有改进建议,可以向[EIP](https://github.com/dgiot/eip) 提交 PR 和 ISSUE
|
2021-05-18 14:54:48 +08:00
|
|
|
|
|
2021-12-02 10:51:13 +08:00
|
|
|
|
## 插件开发
|
2021-05-18 14:54:48 +08:00
|
|
|
|
|
|
|
|
|
如果想集成或开发你自己的插件,参考 [lib-extra/README.md](./lib-extra/README.md)
|
|
|
|
|
|
2021-05-30 17:15:32 +08:00
|
|
|
|
欢迎你将任何 bug、问题和功能请求提交到 [dgiot/dgiot](https://github.com/dgiot/dgiot/issues)。
|
|
|
|
|
|
2021-05-18 14:54:48 +08:00
|
|
|
|
## 开源许可
|
|
|
|
|
Apache License 2.0, 详见 [LICENSE](./LICENSE)。
|