diff --git a/README.md b/README.md index a329606..64cdf6b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ A Simple Telebot for E5 Renewal `Golang` + `SQLite` -DEMO: https://t.me/raindev_bot (This DEMO is for testing only) +DEMO: https://t.me/raindev_bot (This DEMO is agesor testing only) Communication: [Telegram Group](https://t.me/e5subbot) ## Introduction @@ -46,6 +46,15 @@ Calling [Outlook ReadMail API](https://docs.microsoft.com/en-us/graph/api/user-l Bot creation tutorial : [Microsoft](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-telegram?view=azure-bot-service-4.0) +### Docker +```bash +wget --no-check-certificate -O /root/config.yml https://raw.githubusercontent.com/rainerosion/E5SubBot/master/config.yml.example +# Modify configuration file +vim /root/config.yml +docker run -itd -v /root/config.yml:/root/config.yml --restart=always --name e5bot rainerosion/e5subbot-sqlite +``` + + ### Binary Deployment Download the binary files of the corresponding system on the [Releases](https://github.com/rainerosion/E5SubBot/releases) page and upload it to the server diff --git a/README_zhCN.md b/README_zhCN.md index 35ec6c4..2f04445 100644 --- a/README_zhCN.md +++ b/README_zhCN.md @@ -44,6 +44,14 @@ E5订阅为开发者订阅,只要调用相关API就有可能续期 Bot创建教程:[Google](https://www.google.com/search?q=telegram+Bot%E5%88%9B%E5%BB%BA%E6%95%99%E7%A8%8B) +### Docker部署 +```bash +wget --no-check-certificate -O /root/config.yml https://raw.githubusercontent.com/rainerosion/E5SubBot/master/config.yml.example +# 修改配置文件中的信息 +vim /root/config.yml +docker run -itd -v /root/config.yml:/root/config.yml --restart=always --name e5bot rainerosion/e5subbot-sqlite +``` + ### 二进制文件 在[Releases](https://github.com/rainerosion/E5SubBot/releases)页面下载对应系统的二进制文件,上传至服务器