chore: update README

This commit is contained in:
Ou
2024-10-24 03:03:48 +08:00
parent 959f0dccb8
commit 0f398cfd77
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ JWT_SECRET=
INIT_TABLE=true
```
This project primarily supports deployment on Cloudflare Pages and Docker. For Vercel, you need to set up your own database. Supported databases can be found at https://db0.unjs.io/connectors.
This project primarily supports deployment on Cloudflare Pages and Docker. For Vercel, you need to set up your own database. Supported databases can be found at https://db0.unjs.io/connectors .
Cloudflare D1 database is free to use. You can manually create a database in the Cloudflare Worker control panel and add the database_id and database_name to the corresponding positions in wrangler.toml. The changes will take effect on the next deployment.
+2 -2
View File
@@ -21,7 +21,7 @@ JWT_SECRET=
INIT_TABLE=true
```
本项目主推 Cloudflare Pages 以及 Docker 部署, Vercel 需要你自行搞定数据库,其他支持的数据库可以查看 https://db0.unjs.io/connectors。
本项目主推 Cloudflare Pages 以及 Docker 部署, Vercel 需要你自行搞定数据库,其他支持的数据库可以查看 https://db0.unjs.io/connectors
Cloudflare D1 数据库可以免费使用,在 Cloudflare Worker 控制面板里找到 D1 手动创建数据库,将 `database_id` 以及 `database_name` 填入 `wrangler.toml` 对应位置即可。下次部署时就可以生效了。
@@ -40,7 +40,7 @@ pnpm i
pnpm dev
```
你可想要添加数据源,请关注 `shared/metadata` `shared/sources` `server/sources`,项目类型完备,结构简单,请自行探索。
你可想要添加数据源,请关注 `shared/metadata` `shared/sources` `server/sources`,项目类型完备,结构简单,请自行探索。
## License
+1 -1
View File
@@ -2,7 +2,7 @@ version: '3'
services:
newsnow:
image: ghcr.io/ourongxing/newsnow:main
image: ghcr.io/ourongxing/newsnow:latest
container_name: newsnow
restart: always
ports: