Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web ui 助力按需编译 #166

Open
jingjingxyk opened this issue May 30, 2023 · 0 comments
Open

web ui 助力按需编译 #166

jingjingxyk opened this issue May 30, 2023 · 0 comments

Comments

@jingjingxyk
Copy link
Contributor

jingjingxyk commented May 30, 2023

web ui (雏形 暂只启用前端页面页面) : https://swoole-cli-ui.jingjingxyk.com/

缘由: swoole/swoole-src#4636

视频: 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
@jingjingxyk jingjingxyk changed the title web ui 助力按需编译 https://swoole-cli-ui.jingjingxyk.com/ web ui 助力按需编译 May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant