git clone https://github.com/apache/incubator-shardingsphere.git
;mvn clean install -Prelease
;/sharding-distribution/shardingsphere-ui-distribution/target/apache-shardingsphere-incubating-${latest.release.version}-sharding-ui-bin.tar.gz
;bin/start.sh
;http://localhost:8088/
。Sharding-UI采用前后端分离的方式。
org.apache.shardingsphere.ui.Bootstrap
;http://localhost:8088/
。sharding-ui-frontend/
目录;npm install
;npm run dev
;http://localhost:8080/
。Sharding-UI的配置文件为conf/application.properties
, 它由两部分组成。
server.port=8088
user.admin.username=admin
user.admin.password=admin
node_modules/
目录后重新运行。
错误日志如下:ERROR Failed to compile with 17 errors
error in ./src/views/orchestration/module/instance.vue?vue&type=style&index=0&id=9e59b740&lang=scss&scoped=true&
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Missing binding /sharding-sphere/sharding-ui/sharding-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`.
Run `npm rebuild node-sass` to download the binding for your current environment.