web ui 助力按需编译
Opened this issue · 0 comments
jingjingxyk commented
web ui (雏形 暂只启用前端页面页面) : https://swoole-cli-ui.jingjingxyk.com/
视频: https://www.bilibili.com/video/BV1Eb4y1n7xE/
视频节点: 0:58:34
视频节点: 1:02:44
视频节点: 1:05:34
swoole-cli 实验分支 experiment
借助 swoole-cli 项目提供的依赖库,编译器PHP其他版本 ,使用这个分支 build_native_php
其他:
借助依赖库 micro 二进制版本 build_native_php_sfx_micro
php-7.3.33
php-7.4.33
完整步骤:
bash sapi/quickstart/setup-php-runtime.sh --mirror china
bash sapi/quickstart/linux/run-alpine-3.16-container-full.sh
# 进入容器
bash sapi/quickstart/linux/connection-swoole-cli-alpine.sh
sh sapi/quickstart/linux/alpine-3.16-init.sh --mirror china
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
composer update --no-dev --optimize-autoloader
php prepare.php --with-global-prefix=/usr --with-download-mirror-url=https://swoole-cli.jingjingxyk.com/ +protobuf
# bash make.sh all-library (这步省略,因为已经通过容器技术提前构建好依赖库,并打包到容器中,运行容器已经包含依赖库)
bash make.sh config
bash make.sh build
bash make.sh archive