配置虚拟主机,目录指向/path/easyswoole_allen/client
根目录指向/path/easyswoole_allen/client
1、修改produce.php中的配置CLIENT_DOMAIN配置为如上2中的虚拟主机域名;
2、将/path/client/static/js/init.js中的wsserver修改为如上2中的虚拟主机域名;
执行:
php easyswoole start produce
访问如上2中的虚拟主机域名,如192.168.79.206:8082/index.html
https://github.com/longjieYuan/easyswoole_allen/tree/master/App/Dispatch
https://github.com/longjieYuan/easyswoole_allen/tree/actor_chat