From 53d7503038c193a509579bb87f84e31093cfe77d Mon Sep 17 00:00:00 2001 From: Jonathan Zhang Date: Tue, 7 Feb 2023 20:03:31 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=A2=9E=E5=8A=A0=E4=BA=86=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E9=A1=B5=E9=9D=A2=E7=9A=84=E5=86=85=E5=AE=B9=20(#1179?= =?UTF-8?q?6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update README.md * Update README.md * Update README.md --- docs/en/install/README.md | 4 +++- docs/install/README.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/en/install/README.md b/docs/en/install/README.md index b0e86132b..2f58df726 100644 --- a/docs/en/install/README.md +++ b/docs/en/install/README.md @@ -20,6 +20,7 @@ Deploy for public access may require: 3. [Redis](https://redis.io/download) 4. [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs) 5. [Google App Engine](https://cloud.google.com/appengine/) +6. [Fly.io](https://fly.io/) ## Docker Image @@ -319,10 +320,11 @@ Heroku [no longer](https://blog.heroku.com/next-chapter) offers free product pla $ cd RSSHub ``` 3. [Sign up for Fly.io](https://fly.io/app/sign-up) and install the [`flyctl` CLI](https://fly.io/docs/hands-on/install-flyctl/). -4. Run `flyctl launch` and choose a unique name. +4. Run `flyctl launch` and choose a unique name and region to deploy. 5. Use `flyctl secrets set KEY=VALUE` to [configure specific routes](#configuration-route-specific-configurations). 6. [Set up automatic deployment via GitHub Actions](https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/) 7. Install the [Pull](https://github.com/apps/pull) GitHub app to keep your fork synchronized with upstream. +8. (Optional) Point your own domain to the IPv4 and IPv6 addresses provided by fly.io, then go to Certificate page and add the domain. ### Configure built-in Upstash Redis as cache diff --git a/docs/install/README.md b/docs/install/README.md index 794584ac7..2e20a10a2 100644 --- a/docs/install/README.md +++ b/docs/install/README.md @@ -20,6 +20,7 @@ sidebar: auto 3. [Redis](https://redis.io/download) 4. [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs) 5. [Google App Engine](https://cloud.google.com/appengine/) +6. [Fly.io](https://fly.io/) ## Docker 镜像 @@ -321,10 +322,11 @@ Heroku [不再](https://blog.heroku.com/next-chapter) 提供免费服务。 $ cd RSSHub ``` 3. 前往 [Fly.io 完成注册](https://fly.io/app/sign-up),并安装 [`flyctl` CLI](https://fly.io/docs/hands-on/install-flyctl/)。 -4. 运行 `flyctl launch`, 并选择一个唯一的名称。 +4. 运行 `flyctl launch`, 并选择一个唯一的名称和实例地区。 5. 使用 `flyctl secrets set KEY=VALUE` [对部分模块进行配置](#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi)。 6. [配置通过 GitHub Actions 自动部署](https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/) 7. 安装 [Pull](https://github.com/apps/pull) 应用,定期将 RSSHub 改动自动同步至你的分叉。 +8. (可选)将自己的域名指向 fly.io 提供的 IPv4 和 IPv6 地址,并在 Certificate 页面添加自有域名 ### 配置内置的 Upstash Redis 缓存