Coder Social home page Coder Social logo

ybaolong / mblog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from langhsu/mblog

0.0 1.0 0.0 24.8 MB

开源免费的Java博客系统, 采用spring-boot、spring-data-jpa、shiro、freemarker、bootstrap等框架, 支持Docker

Home Page: http://mtons.com

License: GNU General Public License v3.0

Java 64.72% HTML 1.17% FreeMarker 32.39% Dockerfile 0.05% Shell 0.15% TSQL 1.51%

mblog's Introduction

Mblog 开源Java博客系统, 支持多用户, 支持切换主题

Author JDK Release license Docker QQ群

技术选型:

  • JDK8
  • MySQL
  • Spring-boot
  • Spring-data-jpa
  • Shiro
  • Lombok
  • Freemarker
  • Bootstrap
  • SeaJs

启动:

  • main方法运行
配置:src/main/resources/application-mysql.yml (数据库账号密码)、新建db_mblog的数据库
运行:src/main/java/com/mtons/mblog/BootApplication
访问:http://localhost:8080/
后台:http://localhost:8080/admin
账号:默认管理员账号为 admin/12345

TIPS: 
如遇到启动失败/切换环境变量后启动失败的,请先maven clean后再尝试启动
IDE得装lombok插件

版本(3.5)更新内容:

1. 文件存储目录可配置, 见 site.location, 默认为 user.dir
2. 支持在${site.location}/storage/templates 目录下扩展自己的主题(${site.location}具体位置见启动日志)
3. 后台未配置对应第三方登录信息时, 前端不显示对应的按钮
4. 模板优化
5. 后台配置主题改为自动从目录中加载
6. 新增markdown编辑器, 可在后台选择tinymce/markdown

版本(3.0)更新内容:

1. 新增开关控制(注册开关, 发文开关, 评论开发)
2. 后台重写, 替换了所有后台页面功能更完善
3. 上传图片添加更多支持(本地/又拍云/阿里云/七牛云), 详情见后台系统配置
4. 升级为spring-boot2
5. 调整模板静态资源引用,方便扩展
6. 表名调整, 旧版本升级时请自行在数据库重命名, 详情见change.log
7. 重写了config(改为options), 可在applicaiton.yaml设置默认配置, 启动后将以options中配置为准
8. 支持后台设置主题
9. 去除了本地文件上传目录配置, 改为自动取项目运行目录(会在jar同级目录生成storeage和indexes目录)
10. 替换表单验证插件, 评论表情改为颜文字
11. 我的主页和Ta人主页合并
12. 优化了图片裁剪功能
13. 支持Docker, 详情见 https://hub.docker.com/r/langhsu/mblog
14. 邮件服务后台可配
15. 新增标签页
16. 新增注册邮箱验证开关(需要手动删除之前的 mto_security_code 表)

图片演示

输入图片说明 输入图片说明

mblog's People

Contributors

langhsu avatar saxingz avatar stevenliuit avatar

Watchers

James Cloos 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.