Giter Club home page Giter Club logo

pecado's Introduction

Pecado

这是一个 Spring Cloud 微服务项目。 是 Stalber 项目的微服务化,拥有一致的 API。

服务

  • Pecado-dp 开发平台
  • Pecado-gateway 网关
  • Pecado-ims 权限管理
  • Pecado-system 系统管理
  • Pecado-uaa 认证中心
  • Pecado-oa 整合流程平台业务演示

环境

  • JDK 11
  • MySQL8
  • Maven
  • Redis
  • Nacos 注册配置中心
  • RocketMQ 异步消息
  • Seata 分布式事务
  • Sentinel 限流降级

快速开始

  • 顺序启动 Nacos、Redis、RocketMQSeata

  • 导入 Nacos 配置

  • 执行 db/db.sql

  • mvn clean install -Dmaven.test.skip=true

  • 加入 127.0.0.1 pecado-nacos 到 hosts

  • 启动之前要修改的配置,详细说明看这里

    • spring.datasource
    • spring.redis
    • pecado.terrace
    • pecado.code.template-url
    • pecado.storage

    如果开发环境不需要验证码,pecado.captcha.enabled: false,同时,前端注释掉验证码输入框。

  • 启动 5 个微服务

  • 启动 pecado-web-ui

使用 ArgoCD 部署到 K8s

$ docker build -t harbor.pecado.com:8888/pecado/uaa:1.1 .
$ docker push harbor.pecado.com:8888/pecado/uaa:1.1
$ kubectl port-forward svc/argocd-server -n argocd 8080:443

$ argocd app create pecado-uaa --repo [email protected]:batizhao/impala.git --path pecado/pecado-uaa --revision master --dest-server https://172.31.21.180:8443 --dest-namespace default

application 'pecado-uaa' created

$ argocd app get pecado-uaa
Name:               pecado-uaa
Project:            default
Server:             https://172.31.21.180:8443
Namespace:          default
URL:                https://localhost:8080/applications/pecado-uaa
Repo:               [email protected]:batizhao/pecado.git
Target:             v1.1
Path:               pecado-uaa
SyncWindow:         Sync Allowed
Sync Policy:        <none>
Sync Status:        Synced to v1.1 (55922aa)
Health Status:      Healthy

GROUP  KIND        NAMESPACE  NAME        STATUS  HEALTH   HOOK  MESSAGE
       Service     default    pecado-uaa  Synced  Healthy        service/pecado-uaa unchanged
apps   Deployment  default    pecado-uaa  Synced  Healthy        deployment.apps/pecado-uaa unchanged

$ argocd app sync guestbook

pecado's People

Contributors

batizhao avatar

Watchers

 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.