docs: typo
This commit is contained in:
+19
-19
@@ -21,21 +21,6 @@ Deploy for public access may require:
|
||||
1. [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs)
|
||||
1. [Google App Engine](https://cloud.google.com/appengine/)
|
||||
|
||||
## Play with Docker
|
||||
|
||||
If you would like to test routes or avoid IP limits, etc., you may build your own RSSHub for free by clicking the button below.
|
||||
|
||||
[](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/DIYgod/RSSHub/master/docker-compose.yml)
|
||||
|
||||
::: warning Warning
|
||||
|
||||
- [DockerHub](https://hub.docker.com) account required
|
||||
- [Play with Docker](https://labs.play-with-docker.com/) instance will last for 4 hours at most. It should only be used for testing purpose
|
||||
- If deploy success but port cannot be auto-deteced,please click the `open port` button on the top and type `1200`
|
||||
- Sometimes PWD won't work as expected. If you encounter blank screen after `Start`, or some error during initialization, please retry
|
||||
|
||||
:::
|
||||
|
||||
## Docker Compose Deployment
|
||||
|
||||
### Install
|
||||
@@ -201,6 +186,10 @@ Then repeat the installation steps
|
||||
|
||||
[](https://heroku.com/deploy?template=https%3A%2F%2Fgithub.com%2FDIYgod%2FRSSHub)
|
||||
|
||||
## Deploy to Vercel(Zeit Now)
|
||||
|
||||
Project export a now serverless function with a `now.json` configuration,After installing[Vercel(Zeit Now)](https://vercel.com/docs/now-cli),just run `now` in project directory, RSSHub is on now serverless function.
|
||||
|
||||
## Google App Engine(GAE) Deployment
|
||||
|
||||
### Before You Begin
|
||||
@@ -263,10 +252,6 @@ env_variables:
|
||||
# [END app_yaml]
|
||||
```
|
||||
|
||||
#### Deploy to Vercel(Zeit Now)
|
||||
|
||||
Project export a now serverless function with a `now.json` configuration,After installing[Vercel(Zeit Now)](https://vercel.com/docs/now-cli),just run `now` in project directory, RSSHub is on now serverless function.
|
||||
|
||||
### Install
|
||||
|
||||
Under RSSHub's root directory, execute the following commands to launch RSSHub
|
||||
@@ -279,6 +264,21 @@ For changing the deployment project id or version id, please refer to `Deploying
|
||||
|
||||
You can access your `Google App Engine URL` to check the deployment status
|
||||
|
||||
## Play with Docker
|
||||
|
||||
If you would like to test routes or avoid IP limits, etc., you may build your own RSSHub for free by clicking the button below.
|
||||
|
||||
[](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/DIYgod/RSSHub/master/docker-compose.yml)
|
||||
|
||||
::: warning Warning
|
||||
|
||||
- [DockerHub](https://hub.docker.com) account required
|
||||
- [Play with Docker](https://labs.play-with-docker.com/) instance will last for 4 hours at most. It should only be used for testing purpose
|
||||
- If deploy success but port cannot be auto-deteced,please click the `open port` button on the top and type `1200`
|
||||
- Sometimes PWD won't work as expected. If you encounter blank screen after `Start`, or some error during initialization, please retry
|
||||
|
||||
:::
|
||||
|
||||
## Configuration
|
||||
|
||||
Configure RSSHub by setting environment variables
|
||||
|
||||
+17
-17
@@ -21,21 +21,6 @@ sidebar: auto
|
||||
1. [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs)
|
||||
1. [Google App Engine](https://cloud.google.com/appengine/)
|
||||
|
||||
## Play with Docker
|
||||
|
||||
如果想要测试因为反爬规则导致无法访问的路由,您可以点击下方按钮拉起一套免费,临时,专属于您的 RSSHub
|
||||
|
||||
[](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/DIYgod/RSSHub/master/docker-compose.yml)
|
||||
|
||||
::: warning 注意
|
||||
|
||||
- 需要 [DockerHub](https://hub.docker.com) 账号
|
||||
- [Play with Docker](https://labs.play-with-docker.com/) 一次仅能使用 4 小时,不能作为持久化解决方案,应当用于测试/验证路由规则
|
||||
- 如果部署完成后不能看到自动识别的端口,请手动点击顶部按钮`open port`并输入`1200`
|
||||
- 有的时候 PWD 会抽风,如果遇到点击`Start`后空白页面,或者拉起失败,请重试
|
||||
|
||||
:::
|
||||
|
||||
## Docker Compose 部署
|
||||
|
||||
### 安装
|
||||
@@ -203,6 +188,10 @@ $ git pull
|
||||
|
||||
[](https://heroku.com/deploy?template=https%3A%2F%2Fgithub.com%2FDIYgod%2FRSSHub)
|
||||
|
||||
## 部署至 Vercel(Zeit Now)
|
||||
|
||||
项目中导出了 now serverless function 并附带 `now.json`相关配置,安装了[Vercel(Zeit Now)](https://vercel.com/docs/now-cli)之后,只需要在项目中运行`now` 即可部署到 Now 的云函数上。
|
||||
|
||||
## 部署到 Google App Engine
|
||||
|
||||
### 准备
|
||||
@@ -267,9 +256,20 @@ env_variables:
|
||||
# [END app_yaml]
|
||||
```
|
||||
|
||||
#### 部署至 Vercel(Zeit Now)
|
||||
## Play with Docker
|
||||
|
||||
项目中导出了 now serverless function 并附带 `now.json`相关配置,安装了[Vercel(Zeit Now)](https://vercel.com/docs/now-cli)之后,只需要在项目中运行`now` 即可部署到 Now 的云函数上。
|
||||
如果想要测试因为反爬规则导致无法访问的路由,您可以点击下方按钮拉起一套免费,临时,专属于您的 RSSHub
|
||||
|
||||
[](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/DIYgod/RSSHub/master/docker-compose.yml)
|
||||
|
||||
::: warning 注意
|
||||
|
||||
- 需要 [DockerHub](https://hub.docker.com) 账号
|
||||
- [Play with Docker](https://labs.play-with-docker.com/) 一次仅能使用 4 小时,不能作为持久化解决方案,应当用于测试/验证路由规则
|
||||
- 如果部署完成后不能看到自动识别的端口,请手动点击顶部按钮`open port`并输入`1200`
|
||||
- 有的时候 PWD 会抽风,如果遇到点击`Start`后空白页面,或者拉起失败,请重试
|
||||
|
||||
:::
|
||||
|
||||
### 安装
|
||||
|
||||
|
||||
Reference in New Issue
Block a user