部署运行

    1. 运行 mvn clean install -Prelease
    2. 获取安装包 /sharding-distribution/shardingsphere-ui-distribution/target/apache-shardingsphere-${latest.release.version}-sharding-ui-bin.tar.gz
    3. 解压缩后运行bin/start.sh
    4. 访问http://localhost:8088/
    1. 后端程序执行入口为org.apache.shardingsphere.ui.Bootstrap
    2. 访问http://localhost:8088/

    前端

    1. 进入目录;
    2. 执行npm install
    3. 执行npm run dev
    4. 访问http://localhost:8080/

    Sharding-UI的配置文件为conf/application.properties, 它由两部分组成。

    1. 登录身份验证信息。
    1. 若使用maven构建后,再进行本地运行前端项目时,可能因为node版本不一致导致运行失败,可以清空node_modules/目录后重新运行。 错误日志如下:
    1. ERROR Failed to compile with 17 errors
    2. Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
    3. Error: Missing binding /sharding-sphere/sharding-ui/sharding-ui-frontend/node_modules/node-sass/vendor/darwin-x64-57/binding.node
    4. Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 8.x
    5. Found bindings for the following environments:
    6. - OS X 64-bit with Node.js 6.x
    7. This usually happens because your environment has changed since running `npm install`.