基于wudongdefeng仓库,在手机上搭建流程
基础环境准备
1 2
| pkg upgrade -y pkg install -y git perl nodejs-lts wget curl nano cronie moreutils
|
clone对应仓库
1
| git clone -b v3 https://github.com/wudongdefeng/jd-base ~/storage/shared/jd
|
处理配置
1 2 3
| mkdir config cp sample/config.sh.sample config/config.sh cp sample/termux.list.sample config/crontab.list
|
需要修改config.sh
中的cookie和推送设置
安装依赖
1 2
| npm install --no-bin-links npm install -g pm2
|
启动面板
1 2 3 4
| cd panel npm install --no-bin-links pm2 start server.js pm2 save
|
导入定时任务
1 2 3
| crond -ipP crontab -r crontab config/crontab.list
|