[开源]Java代码编写的博客系统,UI美丽,搭建简单
<strong style="color: blue;"><span style="color: black;">↑ 点击上方<span style="color: black;">“Java架构师历程”</span>关注<span style="color: black;">咱们</span></span></strong><p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">DBlog是什么?</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">DBlog是一款简洁美观、自适应的Java博客系统。<span style="color: black;">运用</span>springboot<span style="color: black;">研发</span>,前端<span style="color: black;">运用</span>Bootstrap。支持移动端自适应,配有完备的前台和后台管理功能。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">在互联网飞速发展的今天,各大云服务商的服务器一再降价,阿里云3年不到300;买台服务器就<span style="color: black;">能够</span>自己搭建属于自己的blog了,还在犹豫的<span style="color: black;">朋友</span>有机会抓紧上车了;今天介绍一个</span><span style="color: black;">Java语言编写的UI<span style="color: black;">美丽</span>的自适应的博客系统,<span style="color: black;">处理</span>php搭建的过程中看不懂、懒的调的问题、<span style="color: black;">运用</span>java<span style="color: black;">能够</span>自定义修改;</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">在一个<span style="color: black;">行业</span>、一个圈子里面混了几年之后,越向上走,你会<span style="color: black;">发掘</span>圈子越小,这个时候打造个人品牌就非常重要了,要让圈子里的人提起你做的项目或应用或公众号就要有印象,就需要<span style="color: black;">提高</span>自己的影响力,打造属于自己的个人品牌。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">注:请<span style="color: black;">运用</span>该项目的<span style="color: black;">伴侣</span>优先查阅下</span><span style="color: black;">【Wiki】</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">网站预览:</span><span style="color: black;">点击阅读原文预览</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">https://www.zhyd.me</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">开源<span style="color: black;">位置</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Gitee</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Github</span></p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><span style="color: black;">研发</span>环境</span></h2><span style="color: black;">工具</span><span style="color: black;">版本或描述</span><span style="color: black;">OS</span><span style="color: black;">Windows 7</span><span style="color: black;">JDK</span><span style="color: black;">1.7+</span><span style="color: black;">IDE</span><span style="color: black;">IntelliJ IDEA 2017.3</span><span style="color: black;">Maven</span><span style="color: black;">3.3.1</span><span style="color: black;">MySQL</span><span style="color: black;">5.6.4</span>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">模块划分</span></h2><span style="color: black;">模块</span><span style="color: black;">释义</span><span style="color: black;">blog-core</span><span style="color: black;">核心业务类模块,<span style="color: black;">供给</span>基本的数据操作、工具处理等</span><span style="color: black;">blog-admin</span><span style="color: black;">后台管理模块</span><span style="color: black;">blog-web</span><span style="color: black;">前台模块</span>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">技术栈</span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Springboot 1.5.9</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Apache Shiro 1.2.2</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Logback</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Redis</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Lombok</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Websocket</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">MySQL、Mybatis、Mapper、Pagehelper</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Freemarker</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Bootstrap 3.3.0</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">wangEditor</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">jQuery 1.11.1、jQuery Lazyload 1.9.7、fancybox、iCheck</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">阿里云OSS</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">kaptcha</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Qiniu</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">...</span></p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">功能简介</span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">支持wangEditor和Markdown两种富文本编辑器,<span style="color: black;">能够</span><span style="color: black;">自动</span><span style="color: black;">选取</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">在线申请友情链接,无需站长手动配置,只需申请方添加完站长的连接后<span style="color: black;">自动</span>申请<span style="color: black;">就可</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">支持将文件提交到百度站长收录平台,加快百度引擎的收录</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">自研评论系统</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">后台配备完善的权限管理</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">自带robots、sitemap等seo模板,实现自动生成robots和sitemap</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">系统配置支持快速配置。可<span style="color: black;">经过</span>后台手动修改诸如域名信息、SEO优化、赞赏码、七牛云以及更新<span style="color: black;">守护</span><span style="color: black;">通告</span>等。</span></p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><span style="color: black;">运用</span><span style="color: black;">办法</span></span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">运用</span>IDE导入本项目</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">新建数据库</span><span style="color: black;">CREATE DATABASE dblog;</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">导入数据库</span><span style="color: black;">docs/db/dblog.sql</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">修改(</span><span style="color: black;">resources/application.yml</span><span style="color: black;">)配置文件</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">数据库链接属性(可搜索</span><span style="color: black;">datasource</span><span style="color: black;">或定位到L.19)</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">redis配置(可搜索</span><span style="color: black;">redis</span><span style="color: black;">或定位到L.69)</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">mail配置(可搜索</span><span style="color: black;">mail</span><span style="color: black;">或定位到L.89)</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">【</span><span style="color: black;">七牛云</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">】配置(见sysconfig表中qiniu*开头的字段)</p>注:<span style="color: black;">由于</span>系统存在redis缓存,如果是<span style="color: black;">第1</span>次<span style="color: black;">运用</span>,<span style="color: black;">能够</span>直接修改sys_config表内容,<span style="color: black;">倘若</span>不是<span style="color: black;">第1</span>次用,<span style="color: black;">意见</span><span style="color: black;">运用</span>admin项目中的<span style="color: black;">系统配置</span><span style="color: black;">页面修改<span style="color: black;">关联</span>配置内容</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">运行项目(三种方式)</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">项目根目录下执行</span><span style="color: black;">mvn -X clean package -Dmaven.test.skip=true -Ptest</span><span style="color: black;">编译打包(注:-Ptest中的test为环境标识),<span style="color: black;">而后</span>cd到blog-web目录下执行</span><span style="color: black;">java -jar target/blog-web.jar</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">直接运行</span><span style="color: black;">BlogWebApplication.java</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">浏览器<span style="color: black;">拜访</span></span><span style="color: black;">http://127.0.0.1:8443</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">后台用户</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">超级管理员: 账号:root <span style="color: black;">秘码</span>:123456 (本地测试<span style="color: black;">运用</span>这个账号,admin没设置权限)</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">普通管理员: 账号:admin <span style="color: black;">秘码</span>:123456</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">评论审核管理员: 账号:comment-admin <span style="color: black;">秘码</span>:123456</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">注:后台用户的创建,尽可能做到<span style="color: black;">权限最小化</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">更加多</span>详情,请参考【</span><span style="color: black;">Wiki</span><span style="color: black;">】</span></p>
<h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><span style="color: black;">照片</span>预览</span></h2>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">前台页面</span><img src="https://mmbiz.qpic.cn/mmbiz_png/rAMaszgAyWoTZs4JeWuOM1TPEvbvOrO3oKhZ58W0Hv7IhiaHbJV3vlfg2QUffLrEZKGKZD0wibh2HGD8OFl0VkFA/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/rAMaszgAyWoTZs4JeWuOM1TPEvbvOrO3SqYwGGRSjdnKk6mWcMRD6AAyXJ4lWpqjwjRw9JticR0OSTib4gospngg/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/rAMaszgAyWoTZs4JeWuOM1TPEvbvOrO3icMnSrgd99vSc9lgaje29ibRhIuRdWTFnEXT62icHAlkNUibjpjqEpldYg/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">后台页面</span><img src="https://mmbiz.qpic.cn/mmbiz_png/rAMaszgAyWoTZs4JeWuOM1TPEvbvOrO3OkiaLgM5wDf2BIjz5rZ2dVIoATcECPFsmxGlIG9V1oBjJpgm8tx5SHw/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_gif/rAMaszgAyWoTZs4JeWuOM1TPEvbvOrO3Plqr3UNVWJictpQhzjLcu2fsUZfUtBtPapQRXsuBxHfje0UQCTMYZicw/640?wx_fmt=gif&tp=webp&wxfrom=5&wx_lazy=1" style="width: 50%; margin-bottom: 20px;"></p>Java架构师历程mush专注于为java工程师<span style="color: black;">供给</span>技术干货的<span style="color: black;">文案</span>平台,使其从小牛历练到大拿,在架构师的路上一路前行,共学习,共进步;<span style="color: black;">小程序中<span style="color: black;">更加多</span>无<span style="color: black;">宣传</span></span><span style="color: black;"><span style="color: black;">优秀</span></span><span style="color: black;"><span style="color: black;">文案</span>,欢迎关注!后台回复java技术关键字获取<span style="color: black;">更加多</span>学习资源。</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/rAMaszgAyWpBubBRkMfsSq2bPibeGuHUibD39zTGBvpOY8xQ0WJVnDoZRAVpEV2344tWqFWN8MzwnInycmtzBX0Q/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>无<span style="color: black;">宣传</span>的Java<span style="color: black;">文案</span>平台,点击查看<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/rAMaszgAyWpMibknGhO1vez32kshuibavtjq0a4iczopibia4dHEEAHfWYnQeern2fe9s71qsSnIAJ0K5pRlfeO5jVQ/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p><strong style="color: blue;"><span style="color: black;"><span style="color: black;">爱好</span></span></strong><strong style="color: blue;"><span style="color: black;">分享</span></strong><span style="color: black;"><strong style="color: blue;"><span style="color: black;">or</span></strong></span>
感谢楼主分享,祝愿外链论坛越办越好! 你的见解真是独到,让我受益匪浅。 感谢楼主分享,祝愿外链论坛越办越好!
页:
[1]