# firenut-community **Repository Path**: firenut/firenut-community ## Basic Information - **Project Name**: firenut-community - **Description**: 火豆社区,码农技术交流的聚集地 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-12-05 - **Last Updated**: 2022-12-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # blog-community > 项目前后端不分离,前后端分离请看我另一个项目 > 有问题提issue,看到会回复 ## 使用github和gitee授权登录 [github授权登录--Github OAuth](https://developer.github.com/apps/building-oauth-apps/creating-an-oauth-app/) ## 授权文档 [github文档](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/) [gitee文档](https://gitee.com/api/v5/oauth_doc#/) ## 数据库迁移 [flyway](https://flywaydb.org/getstarted/) ```sh 在pom中配置后可运行mvn flyway:migrate ``` ## MyBatis Generator With Maven ```sh mvn -Dmybatis.generator.overwrite=true mybatis-generator:generate ``` ## gitee登录设置 ![img.png](./gitee登录.jpg) 没服务器回调地址可以写本地 ```shell github.client.id= github.client.secret = github.redirect.uri = ``` ## markdown 编辑器 [Editor.md](https://pandao.github.io/editor.md/) ## markdown编辑器的图片上传 已经替换为阿里云oss了,在配置文件中设置 ## 快速运行 ```sh cp 一个 application-production.properties 并填写相应配置 mvn flyway:migrate mvn clean compile package java -jar -Dspring.profiles.active=production /target/xxxxx.jar 访问 http://localhost:8888 ```