A blog system based on SpringBoot
SlcpBlog
A blog system based onSpringBoot
and vue
Main Features
- Articles, categories, labels, music addition, deletion, editing, etc.
- Support the function of listening to songs.
- Support photo album function.
- Support article search.
- Sidebar function, latest articles, hottest articles, labels, etc.
- Article editing support
Markdown
- It supports
Redis
caching and is implemented based on annotations. - Integrated drawing bed function.
- Complete comment function, including reply comments and email reminders of comments.
- Integrate third-party QQ login.
- Back office integration Vue (recently, semi-finished products).
Basic environment
Windows Environmental requirements
back-end
JDK = 1.8
MySQL >= 5.7
Maven >= 3.0
Redis >= 6.0
IntelliJ IDEA
Xshell
MySQL图形化操作工具
front end(Optional)
Node.js
VsCode 前端工具
VUE
reminder: This front-end option is optional. If you don't integrate Vue, you can directly skip the front-end (the background management system based on Vue, which is an abnormal attendance project I used to play, has not completely replaced the background management of this project at present, mainly because the background of this project is too ugly! I don't know what I thought when I was a freshman at that time ????)
JDK = 1.8
Download the latest version of version 1.8 on the official website and install it after downloading.
Download :https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
#环境变量配置(现在默认会自动配置好)
略
#打开CMD命令行工具,检查是否配置成功
java -version
Maven >= 3.0
Download the latest version of the compressed package from Maven
official website.
Download :https://maven.apache.org/download.cgi
#环境变量配置
略
#打开CMD命令行工具,检查是否配置成功
mvn -v
Mysql >= 5.7(new)
Installation tutorial:https://www.runoob.com/mysql/mysql-install.html
Download :https://dev.mysql.com/downloads/mysql/
Visit MySQL's visual database development tool: the installation tutorial of
Navicat premium
tool can be searched by Baidu.
Redis
Download :https://redis.io/download/
Installation tutorial:解压,配置(密码,默认无密码)
#快捷启动命令.bat
redis-server.exe redis.windows.conf
pause
IntelliJ IDEA
Installation tutorial:https://blog.csdn.net/Sunshine_Mr_Sun/article/details/123891067
Xshell
Installation tutorial:https://blog.csdn.net/Sunshine_Mr_Sun/article/details/124320972
VSCode
Download :https://code.visualstudio.com/
Node.js
Installation tutorial:https://www.runoob.com/nodejs/nodejs-install-setup.html
RUN
Back end startup steps
- Create DB
- Import project
- Configure yaml
- Successful startup
reminder: The SQL file has been provided and only needs to be executed
myblog. sql
Import the project into idea (the tool used in this project is idea. If you use ecplise, you can use it as well. After all, Baidu can't do anything.) Remember to modify the configuration of the connection database before starting If the console prints the access path, it is OK
**Front end startup steps * * (optional)
#打开windows命令行窗口,进入项目目录
cd 路径/topicUI
#强烈建议不要用直接使用 cnpm 安装,会有各种诡异的 bug,可以通过重新指定 registry 来解决 npm 安装速度慢的问题。
npm install --registry=https://registry.npm.taobao.org
#启动项目
npm run dev
Open the browser and enter: http://localhost:8080 (the default account / password has two 'admin/1')
If the login page can be displayed correctly and successfully, and the menu and page display are normal, it indicates that the project is successfully launched
Server deployment
Linux deployment must first obtain jars and dists based on win operation, and then operate. If there is no ECs, here-download VMware
Linux environment requirements
docker
docker-compose
nginx
docker
Installation tutorial:https://blog.csdn.net/Sunshine_Mr_Sun/article/details/123206789
nginx
Download:http://nginx.org/download/
Deployment steps
- Package the front and rear end projects respectively (jar, dist)
- Put dist into nginx and configure nginx
- Modify dockerfile and docker compose YML file (file provided)
- Execute docker build -t myblog:1.0
- Docker images check whether the image is generated
- Docker compose up (check whether it is started successfully. After that, start it in the background -d)
- View and login
Problem related
If you have any questions, please mention issue, or send the problem description to my email1206128610@qq.com
. I will answer as soon as possible It is recommended to submit issue
To all of you ????♀️????♂️
If this project helps you, please hereLeave your website for more people to see.
Your reply will be the driving force for me to continue updating and maintaining.
相关文章
- springboot启动原理总结_Springboot启动流程
- Spring学习笔记(三十)——SpringBoot对象拷贝总结&Mapstruct
- springboot事物oracle,SpringBoot 事务管理
- 自定义SpringBoot自动配置类
- springboot启动监听线程_Springboot启动流程
- SpringBoot-Jar包分离
- [Web开发]《SpringBoot + MySQL + MyBatisPlus》
- idea创建springboot父子工程_Springboot框架
- springboot到底是什么_Springboot注解
- springboot 之 使用jasypt加密解密插件[通俗易懂]
- SpringBoot之Controller用法
- SpringBoot系列之基于MongoRepository实现分页
- 一次SpringBoot版本升级,引发的血案
- SpringBoot中统一API返回格式的两种方式
- SpringBoot学习笔记
- SpringBoot(一)走进Springboot的世界详解编程语言
- 《Drools7.0.0.Final规则引擎教程》之Springboot集成详解编程语言
- SpringBoot全局配置文件详解编程语言
- 的区别MySQL中ON与IN的区别探讨(mysql中on与in)
- Oracle内连接ON极大提高数据查询性能(oracle内连接on)
- MySQL 中的 ON 含义及应用场景解析(mysql中on什么意思)
- Oracle中ON关键字的精彩运用(oracle中on的使用)
- 使用Oracle On关键字实现数据库连接(oracle on关键字)