Giter Site home page Giter Site logo

soybean-admin-java's Introduction

Soybean Admin Java

Spring Boot Spring Cloud Spring Cloud Alibaba Docker docker--compose Portainer skywalking elasticsearch fluentd kibana grafana prometheus loki

简介

Soybean Admin Java 是一个基于 Spring-Boot、Spring-Cloud、Spring-Cloud-Alibaba、Nacos、Mybatis-Plus、Oauth2.0、Redis、RabbitMq、Mysql等基本组件开发的开箱即用Sass微服务架构平台

说明

  • 目前功能暂时只有基本租户sass基础能力,如需新功能请提ISSUE
  • 当前开源中台众多,项目初衷不为在众多开源项目中脱颖而出,旨在传统java开发者对云原生环境有整体的认知;以及对于各种中间件的适用场景和使用方式

项目示例

开发环境部署

  • 先决条件 Docker docker--compose

      # 推荐安装portainer作为本地docker可视化管理平台
      $ docker volume create portainer_data
      $ docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:2.14.2
    
      # 首先创建开发环境网络隔离
      $ docker network create dev
    
      # 进入deploy/env-build/docker/dev/fluentd目录下运行
      $ docker build -t fluent/fluentd:me .
    
      # 进入deploy/env-build/docker/dev目录下运行
      $ docker-compose up -d
    
      tips: 静等以上镜像容器创建完毕,用时可能会很长,建议去打一把游戏
    
      # 以上镜像安装完有两点问题
      1 mysql不能执行初始化脚本,解决方案先手动将附件中的nacos.sql和soybean-admin-local.sql手动执行下
      2 docker-compose.yaml中的dev-web需要引用fluentd,案例中的172.18.0.12地址需要根据实际docker中fluentd在dev网络中的地址进行修改[linux环境不需要修改,大概知道问题原因,开发环境暂时按照此方案手动处理],修改后再次执行docker-compose up -d
    
      tips: 如果一路顺利在Portainer控制台中所有容器应该是全部启动且没有报错的状态
    
      以上开发环境搭建完成后按以下步骤启动
      1. 进入soybean-dependencies指定maven clean install(idea maven控制台也可以)
      2. 进入soybean-framework指定maven clean install
      3. 依次编译打包并启动soybean-gateway,soybean-uaa,soybean-monitor,soybean-demo
    
  • 前端建设中

soybean-admin-java's People

Contributors

bytebytebrew 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.