Skip to content

Commit 03222be

Browse files
committed
update README.md
1 parent 9464526 commit 03222be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ $ cargo make dev
2424

2525
默认启用8080端口,可通过 http://localhost:8080/hello 测试是否启动成功
2626

27+
注:如果没有数据库和redis环境,可将 `main.rs``db_pool``redis_pool` 的相关部分注释掉
2728

2829
## 清理
2930
```
@@ -56,6 +57,10 @@ $ docker-compose down
5657

5758
简洁为主
5859

60+
### 用户和鉴权表数据库脚本(postgres)
61+
62+
`sql/db.sql` 导入数据库
63+
5964
### 关于web框架actix-web
6065

6166
[actix-web](https://actix.rs/)是rust下快速的异步web框架。底层异步库使用的[Tokio](https://tokio.rs/),开发时注意使用异步的方式开发。

0 commit comments

Comments
 (0)