代码拉取完成,页面将自动刷新
(略)
本地安装需要有以下环境:
安装:
git clone https://gitee.com/az13js/cephalopod-app.git
cd cephalopod-app
composer install
运行前,如果需要,请修改 cephalopod-server.php
和 php cephalopod-client.php
,监听的IP地址和端口都写在里面了。
运行服务器:
php cephalopod-server.php \
--listen-ip-address=0.0.0.0 \
--listen-port=9002
运行客户端:
php cephalopod-client.php \
--listen-ip-address=0.0.0.0 \
--listen-port=9001 \
--server-ip-address=10.0.0.15 \
--server-listen-port=9002
本地安装docker环境即可,能上网。
docker build -t cephalopod:<TAG> .
以下,运行服务器和客户端,注意修改IP地址。
运行服务器:
docker run -d -p 9002:9002 cephalopod-app:1.0.0 php \
/cephalopod-app/cephalopod-server.php \
--listen-ip-address=0.0.0.0 \
--listen-port=9002
运行客户端:
docker run -d -p 9001:9001 cephalopod-app:1.0.0 php \
/cephalopod-app/cephalopod-client.php \
--listen-ip-address=0.0.0.0 \
--listen-port=9001 \
--server-ip-address=10.0.0.15 \
--server-listen-port=9002
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。