本地环境运行Elastic-Bg SpringCloud版
原创    xingfu2017    发表于:2019-12-28 11:09:11
  阅读 :277   收藏   编辑

IDEA导入Elastic-Bg项目(master分支)

arch

  • elastic-bg-base:基础包

  • elastic-bg-client:client端

  • elastic-bg-eureka:注册中心

  • elastic-bg-server:服务端

mysql导入表数据

SQL:https://github.com/FaceGhost/Elastic-Bg/blob/master/elastic-bg-server/src/main/resources/sql/elasticbg.sql

sql

修改配置

数据库相关

elastic-bg-server端application-dev.yml

spring:
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://localhost:3306/elasticbg?useSSL=false&serverTimezone=Asia/Shanghai&characterEncoding=utf8&allowMultiQueries=true
    username: root
    password: root

默认端口

  • elastic-bg-client:9000

  • elastic-bg-eureka:7000

  • elastic-bg-server:8000

运行

elastic-bg-eureka类:ElasticBgEurekaApplication

elastic-bg-client类:ElasticBgClientApplication

elastic-bg-server类:ElasticBgServerApplication

浏览器访问eurekahttp://localhost:7000/

1

浏览器访问client:http://localhost:9000/

login

默认用名:supe_admin

默认密码:bg2019


评论
条评论

推荐阅读