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-05-18 14:54:48 +08:00
|
|
|
|
|
2021-07-02 19:14:01 +08:00
|
|
|
|
[English](./README.md) | [简体中文](./README-CN.md) | [日本語](./README-JP.md) | [русский](./README-RU.md)
|
2021-05-18 14:54:48 +08:00
|
|
|
|
|
2021-12-02 19:33:28 +08:00
|
|
|
|
# DG-IoT简介
|
2021-12-03 12:29:29 +08:00
|
|
|
|
DG-IoT是是国内首款轻量级开源工业物联网持续集成平台,我们致力于:
|
|
|
|
|
|
2021-05-30 17:32:29 +08:00
|
|
|
|
+ 让丰富工程人员可以通过视窗交互可以完成需求较简单的工业互联网项目
|
2021-12-03 12:29:29 +08:00
|
|
|
|
|
2021-05-30 17:32:29 +08:00
|
|
|
|
+ 让广大的初级前端工程师通过serverless的方式可以承接需求较复杂的工业互联网项目
|
2021-12-03 12:29:29 +08:00
|
|
|
|
|
2021-05-30 17:32:29 +08:00
|
|
|
|
+ 让Python、Java、Go、C初级后台工程师通过web编程开发通道来承接复杂的工业互联网项目
|
2021-12-03 12:29:29 +08:00
|
|
|
|
+ 前后端完全开源,极大节约用户成本,缩减物联网平台开发周期
|
|
|
|
|
+ 支持私有化一键式部署,快速拥有自己的物联网平台
|
2021-12-03 16:54:16 +08:00
|
|
|
|
## 面向用户
|
|
|
|
|
+ 国企研究院:平台代码开源,无版权产权困扰,国产无“卡脖”之忧。
|
|
|
|
|
+ 系统集成商:海量设备接入、多型号设备与传感器支持二次开发、一键式部署,私有化灵活部署、低成本(降90%成本)
|
|
|
|
|
+ 工业设备制造商:海量设备上线运维,不受公有云限制,低成本,短周期自建平台,私有化部署,数据安全
|
|
|
|
|
+ 开源平台开发者:利用开源平台,快速直接承接项目,可利用平台丰富的已支持设备和场景,集成和兼容各种最优开源工具
|
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-02 19:33:28 +08:00
|
|
|
|
+ 轻量级快速部署
|
|
|
|
|
+ 千万级长连接承载,电信级稳定性
|
|
|
|
|
+ 物模型-规则引擎-数据通道-组态页面全流程低代码开发
|
|
|
|
|
+ 多行业工业协议兼容
|
2021-12-02 10:51:13 +08:00
|
|
|
|
|
2021-12-04 15:52:54 +08:00
|
|
|
|
## 一键部署
|
2021-12-04 16:06:02 +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 12:33:49 +08:00
|
|
|
|
# 业务交互
|
2021-12-04 03:49:07 +08:00
|
|
|
|
|
2021-12-04 16:05:11 +08:00
|
|
|
|
![](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/msys64/%E4%B8%9A%E5%8A%A1%E4%BA%A4%E4%BA%92.jpg)
|
2021-12-04 03:49:07 +08:00
|
|
|
|
|
2021-12-04 03:53:32 +08:00
|
|
|
|
## 快速体验
|
|
|
|
|
|小程序|[电脑端](https://prod.iotn2n.com/)|账号|密码|
|
|
|
|
|
|---|---|---|---|
|
|
|
|
|
| ![dgiot小程序](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/dgiot_release/dgiot_wechat.jpg) |![dgiot_dashboard.png](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/dgiot_release/dgiot_dashboard.png) |dgiot_admin|dgiot_admin|
|
|
|
|
|
|
2021-12-03 16:45:30 +08:00
|
|
|
|
## 社区
|
|
|
|
|
| 联系方式 | 地址 |
|
|
|
|
|
| -------------- | ------------------------------------------------------------ |
|
|
|
|
|
| github | [https://github.com/dgiot](https://github.com/dgiot?from=git) |
|
|
|
|
|
| gitee | [https://gitee.com/dgiot](https://gitee.com/dgiiot?from=git) |
|
|
|
|
|
| 官网 | [https://www.iotn2n.com](https://www.iotn2n.com?from=git) |
|
|
|
|
|
| 博客 | [https://tech.iotn2n.com](https://tech.iotn2n.com?from=git) |
|
|
|
|
|
| 物联网接入平台 | [https://dgiot.iotn2n.com](https://dgiot.iotn2n.com?from=git) |
|
|
|
|
|
| QQ群 | [346566935](https://jq.qq.com/?_wv=1027&k=LipWZvDe/) |
|
2021-12-03 16:47:04 +08:00
|
|
|
|
| 微信群 |![image](https://user-images.githubusercontent.com/51999461/144572983-16bf3223-a00b-4cd6-9446-cb652f81c8af.png)|
|
2021-12-03 16:45:30 +08:00
|
|
|
|
| 公众号 | ![qrcode.png](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/wechat/qrcode.png)|
|
2021-12-03 12:29:29 +08:00
|
|
|
|
|
|
|
|
|
|
2021-05-30 17:15:32 +08:00
|
|
|
|
# 构建
|
2021-05-30 17:32:29 +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)。
|