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 10:51:13 +08:00
|
|
|
|
## DG-IoT简介
|
|
|
|
|
DG-IoT是是国内首款轻量级开源工业物联网持续集成平台。
|
2021-09-08 19:14:09 +08:00
|
|
|
|
DG-IoT团队2016年之前,在互联网和移动互联网爬坑多年,2016年开始进入物联网爬坑,希望通过这个开源平台把多年爬坑经验共享出来,让多学科交叉的工业互联网项目变得更简单。
|
2021-05-30 17:32:29 +08:00
|
|
|
|
+ 让丰富工程人员可以通过视窗交互可以完成需求较简单的工业互联网项目
|
|
|
|
|
+ 让广大的初级前端工程师通过serverless的方式可以承接需求较复杂的工业互联网项目
|
|
|
|
|
+ 让Python、Java、Go、C初级后台工程师通过web编程开发通道来承接复杂的工业互联网项目
|
2021-05-30 17:15:32 +08:00
|
|
|
|
|
2021-12-02 10:51:13 +08:00
|
|
|
|
## 业务架构
|
|
|
|
|
![dgiot_func](https://user-images.githubusercontent.com/51999461/144348648-b5342597-750b-4372-83c5-3668407b665e.png)
|
|
|
|
|
|
|
|
|
|
## 快速体验
|
|
|
|
|
|小程序|电脑端|账号|密码|
|
|
|
|
|
|---|---|---|---|
|
|
|
|
|
| ![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-09-08 19:14:09 +08:00
|
|
|
|
DG-IoT团队希望通过DG-IoT工业互联网持续集成平台达成下面一些愿景:
|
2021-05-30 17:15:32 +08:00
|
|
|
|
+ 通过工程人员、前端工程师、初级后台工程师在不超过1个月的实际完成中小型的工业互联网项目
|
|
|
|
|
+ 通过代码开源、软件免费、文档共享、技术认证、产品认证、运维托管等多种方式保证高质量的交付
|
|
|
|
|
+ 技术领域专家不断持续集成业界优秀技术框架、业务领域专家不断持续优化业务模型和流程、构建多学科交叉的开放平台
|
|
|
|
|
+ 物联网平台最终能够实现简洁易用,回归到工具化的本质
|
|
|
|
|
|
2021-12-02 10:51:13 +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-09-09 12:35:58 +08:00
|
|
|
|
## 一键部署
|
|
|
|
|
|
|
|
|
|
+ **centos 7.6**
|
|
|
|
|
|
|
|
|
|
```
|
2021-09-09 17:50:17 +08:00
|
|
|
|
wget -q https://gitee.com/dgiiot/dgiot/raw/master/dgiot_install.sh && sh dgiot_install.sh
|
2021-09-08 19:14:09 +08:00
|
|
|
|
```
|
2021-05-18 14:54:48 +08:00
|
|
|
|
|
2021-12-02 10:51:13 +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/) |
|
|
|
|
|
| 微信群 | |
|
|
|
|
|
| 公众号 | ![qrcode.png](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/wechat/qrcode.png)|
|
2021-05-18 14:54:48 +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)。
|