Skip to content

Commit

Permalink
Add notes about environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
iovxw committed Apr 14, 2020
1 parent bfc0da4 commit b96fadf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ ARGS:

`<token>` 请参照 [这里](https://core.telegram.org/bots#3-how-do-i-create-a-bot) 申请

## 环境变量

- `HTTP_PROXY`: 用于 HTTP 的代理
- `HTTPS_PROXY`: 用于 HTTPS 的代理
- `RSSBOT_DONT_PROXY_FEEDS`: 设为 `1` 使所有订阅的 RSS 不通过代理(仅代理 Telegram)
- `NO_PROXY`: 暂不支持,等待 [reqwest#877](https://github.com/seanmonstar/reqwest/pull/877)

## 从旧的 RSSBot 迁移

对于 [原先 Clojure 版本的 Bot](https://github.com/iovxw/tg-rss-bot), 可以使用以下脚本转换数据库
Expand Down

0 comments on commit b96fadf

Please sign in to comment.