Skip to content

Commit

Permalink
完善系统
Browse files Browse the repository at this point in the history
  • Loading branch information
deatil committed Jun 2, 2023
1 parent 4d93aff commit be7fcd1
Show file tree
Hide file tree
Showing 116 changed files with 6,642 additions and 373 deletions.
39 changes: 0 additions & 39 deletions .env.example

This file was deleted.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ captcha = "0.0.9"
bcrypt = "0.14"
rust-crypto = "0.2.36"
humansize = "2.1.3"
rust-ini = "0.19.0"
once_cell = "1.17.2"
validator = { version = "0.16", features = ["derive"] }
chrono = { version = "0.4", features = ["unstable-locales"] }
chrono-tz = { version = "0.8.2", features = ["serde"] }
chrono-tz = { version = "0.8.2", features = ["serde"] }
uuid = { version = "1", features = ["v4"] }
sea-orm = { version = "0.11.2", features = ["sqlx-mysql", "runtime-actix-rustls", "macros"] }
sea-query = "0.28.5"
tracing-subscriber = { version = "0.3", default-features = false, features = ["env-filter"] }
redis = { version = "0.23", features = [
"tokio-comp",
Expand Down
104 changes: 103 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,103 @@
nako-blog
## nako-blog 博客系统

`nako-blog` 是使用 `actix-web`, `sea-orm``tera``rust` 博客系统


### 项目介绍

* 使用 `rust` 开发的通用博客系统
* 核心使用 `actix-web`, `sea-orm``tera` 等开发
* 博客后台使用 `pear-admin` 后端模板,非前后端分离项目
* 博客模板为可设置模板


### 环境要求

- rust >= 1.18
- Myql
- Redis


### 截图预览

<table>
<tr>
<td width="50%">
<center>
<img alt="登录" src="/~https://github.com/deatil/nako-blog/assets/24578855/876ee1aa-ca6c-44e4-ac38-2db742448c93" />
</center>
</td>
<td width="50%">
<center>
<img alt="控制台" src="/~https://github.com/deatil/nako-blog/assets/24578855/5619400f-d223-490e-8fce-50d48289885f" />
</center>
</td>
</tr>
<tr>
<td width="50%">
<center>
<img alt="文章管理" src="/~https://github.com/deatil/nako-blog/assets/24578855/cecc15bb-c318-41ae-96aa-a2edac0ef2a7" />
</center>
</td>
<td width="50%">
<center>
<img alt="附件管理" src="/~https://github.com/deatil/nako-blog/assets/24578855/5d5d4ac9-1d39-4afa-9dbd-74ba6579e633" />
</center>
</td>
</tr>
</table>

更多截图
[nako-blog 截图](/~https://github.com/deatil/nako-blog/issues/2)


### 安装及开发步骤

1. 首先克隆项目到本地

```
git clone /~https://github.com/deatil/nako-blog.git
```

2. 然后配置数据库等信息

```
/conf.ini
```

3. 最后导入 sql 数据到数据库

```
/docs/nako_blog.sql
```

4. 运行测试

```rust
cargo run
```

6. 后台登录账号及密码:`admin` / `123456`, 后台登录地址: `/admin/index`


### 特别鸣谢

感谢以下的项目,排名不分先后

- actix-web

- sea-orm

- dotenvy

- tera


### 开源协议

* `nako-blog` 遵循 `Apache2` 开源协议发布,在保留本系统版权的情况下提供个人及商业免费使用。


### 版权

* 该系统所属版权归 deatil(/~https://github.com/deatil) 所有。
Binary file removed assert/static/blog/images/logo.png
Binary file not shown.
7 changes: 7 additions & 0 deletions assert/static/blog/nako/css/bootstrap.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit be7fcd1

Please sign in to comment.