J

Jmcms

aa01f82f
Name Last commit Last update
addons first commit
application 调整日志备注长度
extend first commit
public first commit
runtime first commit
templates/default first commit
thinkphp first commit
vendor first commit
使用说明 first commit
.bowerrc first commit
.env.sample first commit
.gitignore.exp first commit
.gitlab-ci.yml 更新.gitlab-ci.yml文件
LICENSE first commit
README.md 调整rm
bower.json first commit
build.php first commit
composer.json first commit
think first commit

演示站点: jm.wmcmsdemo.com

运行环境: PHP 7.1 + MySql 5.6

程序简介: 该程序主要目的是为基于WMCMS或任意小说产品线进行资源整合进行引流,可以对多平台原创进行索引,可以针对不同小说和章节进行站内阅读或跳回源站

本教程以BT面板为例

配置网站: 1.站点设置 - 网站目录 - 修改运行目录为public 2.站点设置 - 配置文件 - 添加如下代码: location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; } }

注: 1.如果需要程序自带的任务更新数据功能请安装Reids,安装请自行百度 2.网站运行PHP版本和命令行PHP版本皆为PHP7.0-7.1

任务开启方法如下 方法一: 在程序的根目录使用命令《php think queue:work --daemon》

方法二:
[图1]安装Supervisor(推荐使用宝塔,如果自行安装请自行配置)
安装完成后点击添加守护进程
名称:全英文
启动用户:root
运行目录:网站根目录
启动命令:php think queue:work --daemon

当开启后就可以在后台任务管理点击开始任务等待任务执行

[图2]当后台出现进程数量的时候表示任务开启成功。

[图3]也可以在Supervisor的日志管理查看具体运行的日志