chore(doc): update readme

This commit is contained in:
Ou 2024-10-25 11:01:08 +08:00
parent ba51b54dc9
commit 28efd23dfa
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,8 @@
English | [简体中文](README.zh-CN.md) English | [简体中文](README.zh-CN.md)
***Elegant reading of real-time and hottest news***
## Deployment ## Deployment
If login and caching are not required, you can directly deploy to platforms like Cloudflare Pages or Vercel. Just fork the repository and import it into the respective platform. If login and caching are not required, you can directly deploy to platforms like Cloudflare Pages or Vercel. Just fork the repository and import it into the respective platform.
@ -23,7 +25,7 @@ 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. 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.
For Docker deployment. In the project root directory with `docker-compose.yml`, run For Docker deployment. In the project root directory with `docker-compose.yml`, run

View File

@ -5,6 +5,8 @@
[English](./README.md) | 简体中文 [English](./README.md) | 简体中文
***优雅地阅读实时热门新闻***
## 部署 ## 部署
如果不需要登录,缓存,可以直接部署到 Cloudflare PagesVercel 等。Fork 之后在对应平台上导入即可。 如果不需要登录,缓存,可以直接部署到 Cloudflare PagesVercel 等。Fork 之后在对应平台上导入即可。