https://github.com/hellokaton/geekbb
😎 Geek dev club.
https://github.com/hellokaton/geekbb
blade dev-community geek
Last synced: about 2 months ago
JSON representation
😎 Geek dev club.
- Host: GitHub
- URL: https://github.com/hellokaton/geekbb
- Owner: hellokaton
- License: mit
- Created: 2018-04-07T08:41:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-16T14:38:01.000Z (over 6 years ago)
- Last Synced: 2024-10-29T16:56:47.293Z (7 months ago)
- Topics: blade, dev-community, geek
- Language: JavaScript
- Homepage:
- Size: 1.69 MB
- Stars: 26
- Watchers: 3
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# geekbb
该仓库是 [geek-dev.club](https://geek-dev.club) 的源码,仅供学习参考。
## 使用
1. 开发环境
- JDK8
- MySQL
- Maven
- Lombok2. 创建数据库
创建名为 `geekbb` 的数据库,导入 `sql` 目录下的数据库文件。
3. 修改配置文件
关注 `resources/application.properties` 文件。
修改你的数据库连接和 Github 认证授权信息,[申请 Github APP](https://github.com/settings/applications/new)。## 运行
`DEBUG` 模式下运行 `Application` 的主函数即可。
## 打包
执行 `mvn clean package -Dmaven.skip.test=true -Pprod` 即可打包。
打包后会生成在 `target/dist/geekbb` 目录下,上传到服务器解压即可。
1. 服务器需要手动创建一个名为 `db` 的目录,和 `geekbb-latest.jar` 同级
2. 注意修改服务器 `resources/application-prod.properties` 的 Github 和数据库配置**服务器运行**
```bash
sh tool start
```## License
[MIT](LICENSE)