开源项目:Keroshi Blog

· · 科技·工程

退役老哥来写工程了

持续更新中…………

Keroshi Blog



项目地址:https://github.com/KevinLikesCodingMC/KeroshiBlog

轻量个人博客

特性

快速开始

依赖

确保已安装 Java Development Kit 24 或更高版本

创建一个数据库,支持的数据库列表:

mysql
mariadb
oracle database
microsoft sqlserver
postgresql
h2database

下载

从 releases 中选择版本,然后下载相对应的 jar 文件。

配置

创建配置文件 blog.properties,文件结构如下:

KeroshiBlog/
├── KeroshiBlog.jar
└── blog.properties

然后编辑配置,这里给出一个示例:

blog.name=Keroshi Blog
blog.lang=zh

blog.su_username=admin
blog.su_password=password

server.port=80

spring.datasource.url=jdbc:mysql://localhost:3306/testdb
spring.datasource.username=root
spring.datasource.password=password

运行

命令行里运行:

java -jar KeroshiBlog.jar

文档

暂时没有