# blog
**Repository Path**: fhsy80/blog
## Basic Information
- **Project Name**: blog
- **Description**: 个人博客,用于个人练习!
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: https://blog.faig.top
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-06-16
- **Last Updated**: 2021-11-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README

# 个人 blog
> 韶光易逝,努力要趁早;用有限的时间来记录这些知识,沉淀知识库
网站直达: [https://blog.faig.top](https://blog.faig.top)
语雀主页: [https://yuque.com/fhsy](https://yuque.com/fhsy)
## 项目结构
后端 Spring Boot + Mybatis Plus
前端 Vue + Vuetify
- api controller 层 接口存放位置
- code 实体类存放位置
- common 公共包
- system 系统配置
- sql 创建 sql 及 数据库升级 增量 sql
- ux 前端
- public vue 入口页的文件
- index.html
- src
- api # 所有 api 方法
- assets # 静态资源
- components # 公共组件
- plugins # 第三方组件的配置
- router # 路由
- store # vuex
- utils # 工具包
- views # vue 页面 按文件夹存放 除index.vue之外,其他.vue文件统一用 PascalBase 风格
- static # 公共静态资源
- .env.development # 分别代表一种环境的配置文件 开发环境
- .env.production # 生产环境
- .env.test # 测试环境
- vue.config.js # vue 配置信息
## 前置需求
在你开始上手这个项目之前,请检查是否满足以下条件:
后端
* 你有 JDK 8 开发环境
* 你熟悉 Maven 并已经配置了阿里镜像
* 你使用 Intellij 作为开发 IDE(可选,它有更好的 Kotlin 开发支持)
* 你熟悉 Java 开发,了解 [Kotlin][https://www.kotlincn.net/]
* 你熟悉 Spring Boot
* 你熟悉 MyBatis 与 Mybatis Plus
* 你配置了 lombok
前端
* 你有 NodeJS 开发环境
* 你熟悉 Vue 开发
* 你使用 VsCode 作为开发 IDE(可选)
* 你全局安装了 yarm 命令
```
npm install -g yarn
```
## 安装
#### 项目设置
```
yarn install
```
#### 本地开发启动
```
yarn serve
```
## 打包
#### 生产编译
```
yarn prod
```
#### 合并分支到 master
```
此时 Gitee GO 会根据 ci 文件 打包到指定服务器
```