diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f0583f..9f4f2e7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,3 +34,4 @@ jobs: npm install cnpm -g --registry=https://registry.npmmirror.com cd /home/ubuntu/tubex-wechatbot yarn + pm2 start index.js -n tubex-wechatbot diff --git a/README.md b/README.md index 4f6237d..da1f142 100644 --- a/README.md +++ b/README.md @@ -32,10 +32,12 @@ This is an open-source WeChat robot project based on WechatY, Dify API services, ```bash npm install -# Production -node index.js # Development -pm2 start index.js +node index.js +# Production +pm2 start index.js -n tubex-wechatbot +# open logs and scan login QRcode +pm2 logs tubex-wechatbot ``` ### Configuration API