Giter Site home page Giter Site logo

0zu-cc / blog-1 Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 3.72 MB

我的博客。 腾讯云服务器 java 应用博客 搭着玩儿。

Home Page: https://www.ylcoder.top/

License: GNU General Public License v3.0

Java 23.96% CSS 36.11% JavaScript 18.99% Less 4.25% SCSS 4.31% HTML 12.36% Dockerfile 0.01%

blog-1's Introduction

blog是springboot和thymeleaf编写的一个java博客系统,练手的

JDK LICENSE star

部署说明

windows 环境

  1. 下载代码 git clone https://github.com/yltrcc/blog.git
  2. 运行sql文件夹下的sql文件
  3. 到src/main/resources下的application.yaml下修改你的数据库链接
  4. 保存好以后 mvn package打包
  5. 进入target文件夹运行nohup java -jar blog.jar &
  6. 访问http://localhost:8091
  7. 后台管理系统地址http://localhost:8091/admin

Linux 环境

默认你是 Linux Centos 环境

  • 请下载 Docker以及Docker compose
  • 使用 Docker compose 来安装我们需要的环境
    • 两个Nginx:双机热备
    • 两个应用:CICD,建立两个job
    • 一个mysql

CICD

目前Nginx 和 mysql 自动安装 项目jar使用Jenkins、docker配合github hook实现自动构建部署到docker容器中

评论

目前没有打算自己写评论功能。用的两个评论插件gitalkvaline

开源协议

MIT

致谢:

  1. SpringBoot 版本2.0.4
  2. MyBatis ORM框架
  3. MySQL 数据库,版本5.6
  4. Maven 依赖管理
  5. Druid 阿里连接池
  6. Thymeleaf spring官方推荐的模板引擎
  7. Vali Admin 后台模板
  8. jquery toast插件 信息提示插件
  9. Font Awesome 图标库
  10. Thumbnailator 压缩图片工具类
  11. Hutool Hutool是一个Java工具包
  12. PageHelper mybatis分页插件
  13. Bootstrap-Fileinput bootstrap上传控件
  14. halo halo博客系统
  15. Ehcache Java的进程内缓存框架
  16. MDTool 将markdown转换为html的工具
  17. viewerjs 图片预览工具

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.