Giter Club home page Giter Club logo

metaui-taskadmin-demo's Introduction

frontend启动

修改连接配置

vi frontend/src/main/resources/init.properties

修改 ${your-mysql-host}${username}${password}

DB_METADB_URL=jdbc:mysql://${your-mysql-host}:3306/metadb?useUnicode=true&characterEncoding=utf8
DB_METADB_USER=${username}
DB_METADB_PASSWD=${password}

添加tomcat配置

VM options添加参数, 修改 ${your-zookeeper-host}

-Dsoa.zookeeper.host=${your-zookeeper-host}:2181 -Dfile.encoding=UTF-8

启动tomcat

server启动

软件要求

  • mysql
  • zookeeper
  • scala 2.12.4
  • jdk 1.8

启动步骤

启动mysql

启动zookeeper

修改连接配置

1. 修改scala-sql的sql语法检查数据库配置

cd server
vi scala-sql.properties

修改 ${your-mysql-host}${username}${password}

default.driver=com.mysql.jdbc.Driver
default.url=jdbc:mysql://${your-mysql-host}/taskdb?useUnicode=true&characterEncoding=utf8
default.user=${username}
default.password=${password}

2. 修改数据库连接配置

vi task-admin-service/src/main/resources/config_task-admin.properties

修改 ${your-mysql-host}${username}${password}

DB_TASKDB_URL=jdbc:mysql://${your-mysql-host}:3306/taskdb?useUnicode=true&characterEncoding=utf8
DB_TASKDB_USER=${username}
DB_TASKDB_PASSWD=${password}

DB_SLAVE_TASKDB_URL=jdbc:mysql://${your-mysql-host}:3306/taskdb?useUnicode=true&characterEncoding=utf8
DB_SLAVE_TASKDB_USER=${username}
DB_SLAVE_TASKDB_PASSWD=${password}

FORCE_DO_THROUGH=false

3. 修改容器启动连接配置

cd task-admin-service
vi dapeng.properties

修改 ${your-zookeeper-host}${your-kafka-host}

soa.run.mode=maven
soa.apidoc.port=8192
soa.zookeeper.host=${your-zookeeper-host}:2181
soa.kafka.host=${your-kafka-host}:9092
soa.container.port=9095
soa.monitor.enable=false
soa.transactional.enable=false
dapeng.version=1.2.2

启动容器 (更多工具

sbt runContainer

这里忽略了sbt环境的搭建,sbt提速

metaui-taskadmin-demo's People

Contributors

wahsonleung avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.