mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-11-01 18:51:53 +08:00
932 B
932 B
说明: IOT DC3 本身没有 Web ,该 Demo Web UI 是基于 DC3 接口开发的调试应用,该应用仅供开发、调试和测试接口用途。
关于 IOT DC3 的管理平台,还在规划和开发阶段,后期开源。
构建 Demo Web UI
git clone https://gitee.com/pnoker/dc3-web.git
cd dc3-web
#这步至关重要,请务必使用 cnpm 进行 install
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install
启动 Demo Web UI
说明:以下启动方式二选一
- 源码启动
# run
npm run serve
- docker启动
# build
npm run build
# docker build
cd dc3
docker-compose build
# docker run
docker-compose up -d
访问 Demo Web UI
- 如果是在源码启动的,直接访问 http://localhost:8080 即可进入登陆页面,在idea开发模式,请使用该方式启动 Demo Web UI!