Giter VIP home page Giter VIP logo

mkfree-deploy's Introduction

mkfree-deploy 自动化部署系统

简述

  • mkfree-deploy 自动化部署系统,为什么重复造轮子,不是有jenkins吗?jenkins功能更加强大了,为什么不使用?开发这玩意纯粹是玩玩,顺便学习一下前端。
  • mkfree-deploy 一个web部署系统工具,配置简单、功能完善、界面流畅、开箱即用!支持git版本管理,支持各种web代码发布,PHP,Python,JAVA等代码的发布、回滚,可以通过web来一键完成。
  • 其实还有很多功能没有完善。

demo

http://demo.deploy.mkfree.com:8091/deploy/project 账号:admin 密码:admin

技术栈

  • 语言:java、shell、javascript、es6、html、less
  • 后端: spring-boot、spring、spring-mvc、spring-data-jpa
  • 前端框架: react、dva
  • 前端UI: ant-design
  • 数据库: mysql

原理分析

image

用它可以做些神马?

  • 用户管理
  • 项目的用户权限管理
  • 项目管理
  • 版本回滚
  • 支持多项目部署

快速开始

环境要求

  • centos (版本越新越好)
  • ubuntu(版本越新越好)

安装

  • java8 以上版本
  • mysql5.5 以上版本
  • git
  • maven3 以上版本
git clone https://gitee.com/381895649/mkfree-deploy.git
cd mkfree-deploy-backend

打开配置文件 application-prod.properties 修改数据库连接配置

# EMBEDDED SERVER CONFIGURATION (ServerProperties)
server.port=8091
server.tomcat.uri-encoding=UTF-8

# http setting
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
spring.http.encoding.force=true

#db
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/mkfree_deploy_prod?useUnicode=true&characterEncoding=UTF-8&useSSL=false
spring.datasource.username=root
spring.datasource.password=
#jpa
spring.jpa.hibernate.ddl-auto=update


#thymeleaf
spring.thymeleaf.cache=false
spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.encoding=UTF-8

构建项目

mvn clean package

启动命令

java -jar target/mkfree-deploy-backend-1.0.0.jar --spring.profiles.active=prod

如何使用

  • 安装界面
    • 基本信息
      • 项目路径:用于存放 git clone项目文件
      • 构建路劲:用于存放项目构建后文件
    • 超级管理员信息
      • 用户名:超级管理员用户名
      • 密码:超级管理密码
    • image

mkfree-deploy's People

Contributors

oyhk avatar

Watchers

Jack Leung 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.