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-12-06 15:31:31 +08:00
|
|
|
|
|
2021-12-04 17:52:10 +08:00
|
|
|
|
[English](./README.md) | [中文](./README-CN.md) | [日本語](./README-JP.md) | [русский](./README-RU.md)|
|
2021-12-06 16:28:19 +08:00
|
|
|
|
|
2021-12-04 16:51:19 +08:00
|
|
|
|
[github](https://github.com/dgiot?from=git)|[gitee](https://www.iotn2n.com?from=git)|[官网](https://www.iotn2n.com?from=git)|[博客](https://tech.iotn2n.com?from=git)|[体验](https://prod.iotn2n.com?from=git)|
|
2021-12-04 16:44:19 +08:00
|
|
|
|
## DG-IoT简介
|
2021-12-04 16:55:05 +08:00
|
|
|
|
DG-IoT是国内首款轻量级开源工业物联网平台,我们致力于提供四类物联网解决方案:
|
2021-12-07 20:08:04 +08:00
|
|
|
|
+ **国企/研究院**:平台代码开源,无版权产权困扰,国产无“卡脖”之忧。
|
2021-12-07 20:00:06 +08:00
|
|
|
|
+ **系统集成商**:通用设备海量接入、定制设备二次开发、30分钟一键式私有化快速部署,低成本(降90%成本)
|
|
|
|
|
+ **工业设备制造商**:海量设备上线运维,不受公有云限制,低成本,短周期自建平台,私有化部署,数据安全
|
|
|
|
|
+ **开源平台开发者**:一键式开发环境,集成和兼容各种最优开源工具,快速承接物联网项目
|
2021-12-04 16:49:51 +08:00
|
|
|
|
## 业务架构
|
2021-12-07 20:08:04 +08:00
|
|
|
|
![image](https://user-images.githubusercontent.com/51999461/145026404-c1c6f508-d259-419e-982b-b99341a31ca2.png)
|
2021-12-02 19:33:28 +08:00
|
|
|
|
## 核心特色
|
2021-12-07 20:08:04 +08:00
|
|
|
|
+ **完全开源**:前后端[完全开源](./Platform-service.md),无收费商业版
|
|
|
|
|
+ **快速部署**:30分钟私有化[一键式部署](https://gitee.com/dgiiot/dgiot/wikis/DG-IoT%E7%89%A9%E8%81%94%E7%BD%91%E6%89%8B%E5%86%8C/%E7%AE%80%E4%BB%8B/%E5%AE%89%E8%A3%85%E9%83%A8%E7%BD%B2),快速拥有自己的物联网平台
|
|
|
|
|
+ **专业可靠**:千万级长连接承载,电信级稳定性
|
|
|
|
|
+ **兼容并包**:兼容工业领域多行业的常见协议类型
|
|
|
|
|
+ **全流程低代码**:物模型-规则引擎-数据通道-组态页面全流程可视化低代码开发
|
2021-12-07 20:00:06 +08:00
|
|
|
|
|
2021-12-04 16:39:09 +08:00
|
|
|
|
## 快速体验
|
2021-12-04 18:02:56 +08:00
|
|
|
|
|微信群|小程序|公众号|[电脑端](https://prod.iotn2n.com/)|账号|密码|
|
2021-12-04 17:42:23 +08:00
|
|
|
|
|---|---|---|---|---|---|
|
|
|
|
|
|![](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)|![](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-12-04 16:53:58 +08:00
|
|
|
|
构建 *dgiot* 需要 Erlang/OTP R23+, 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
|
2021-12-06 09:20:48 +08:00
|
|
|
|
git clone https://github.com/dgiot/dgiot-dashboard.git
|
2021-06-17 18:34:17 +08:00
|
|
|
|
git clone https://github.com/dgiot/dgiot.git
|
|
|
|
|
```
|
|
|
|
|
+ 国内下载源码
|
|
|
|
|
```bash
|
2021-12-06 09:20:48 +08:00
|
|
|
|
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-12-06 09:20:48 +08:00
|
|
|
|
pnpm install
|
|
|
|
|
pnpm build
|
2021-06-17 18:34:17 +08:00
|
|
|
|
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-12-06 09:20:59 +08:00
|
|
|
|
*DGIOT* 启动,可以使用浏览器访问 http://localhost:80 来查看 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)。
|