# wordpress-rc **Repository Path**: yanhplayground/wordpress-rc ## Basic Information - **Project Name**: wordpress-rc - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-11-15 - **Last Updated**: 2026-11-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # WordPress RC 品牌站 从 `control-task-project` 拆出的独立仓库。本机用 PHP 内置服务器运行,镜像构建走官方包展开后再打包上下文。 ## 本机运行 便携 PHP 放在被忽略的 `.run/wp-native/`。第一次先准备数据库和私有配置: ```powershell .\.run\wp-native\php\php.exe -c .\.run\wp-native\php.ini site-integrations/wordpress-template/tools/development/prepare_native.php powershell -File site-integrations/wordpress-template/tools/development/Manage-Native.ps1 -Action Start ``` 浏览器打开 http://localhost:8080 。停止用 `-Action Stop`。 全新克隆后还要展开官方核心和第三方插件: ```powershell python -X utf8 site-integrations/wordpress-template/tools/fetch_official_source.py ``` ## 构建镜像 ```powershell python -X utf8 site-integrations/wordpress-template/tools/wp_cli_release.py python -X utf8 site-integrations/wordpress-template/tools/fetch_official_source.py python -X utf8 site-integrations/wordpress-template/tools/build_context.py --version 本地版本号 ``` 解包 `output/wordpress-image-*.tar.gz` 后,在该目录执行 `docker build --platform=linux/amd64 --provenance=false --sbom=false`。 Jenkins 任务 `control-task/wordpress-rc` 从本仓库浅克隆,不再拉取 `control-task-project`。