部署运行
- ;
- 运行
mvn clean install -Prelease
; - 获取安装包
/shardingsphere-ui/shardingsphere-ui-distribution/target/apache-shardingsphere-${latest.release.version}-shardingsphere-ui-bin.tar.gz
; - 访问
http://localhost:8088/
。
- 后端程序执行入口为
org.apache.shardingsphere.ui.Bootstrap
; - 访问
http://localhost:8088/
。
前端
- 进入 目录;
- 执行
npm install
; - 执行
npm run dev
; - 访问
http://localhost:8080/
。
ShardingSphere-UI 的配置文件为 conf/application.properties
, 它由两部分组成。
- 程序监听端口;
- 登录身份验证信息。
ERROR Failed to compile with 17 errors
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Missing binding /shardingsphere/shardingsphere-ui/shardingsphere-ui-frontend/node_modules/node-sass/vendor/darwin-x64-57/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 8.x
Found bindings for the following environments:
- OS X 64-bit with Node.js 6.x
This usually happens because your environment has changed since running `npm install`.