anyweiX 一个是基于 Node.js 和 Express.js 搭建的微信公众号文章爬虫
$ npm install
长城里用户或服务器环境可以使用淘宝镜像
$ npm set registry https://registry.npm.taobao.org/
-
测试环境
$ npm start
-
生产环境 (后台运行)
$ nohup node awx.js &
-
或者安装 pm2 (推荐)
$ npm install -g pm2 $ pm2 start awx.js
-
直接用 node 命令启动的进程我只知道酱紫😯
$ pkill node
-
使用 pm2 管理进程的话
$ pm2 stop awx $ pm2 restart awx
pm2 logs awx
pm2 list awx
pm2 show awx
微信: POPOEVER
-EOF-