buepro / typo3-pizpalue-distribution-base
TYPO3 CMS pizpalue 分发基础。
v5.0.0
2022-10-03 16:37 UTC
Requires
- php: >=7.4.0
- buepro/typo3-container-elements: ^4.0.0
- buepro/typo3-easyconf: ^1.0.1
- buepro/typo3-pizpalue: ^14.0.0
- buepro/typo3-pizpalue-distribution: ^5.0.0
- buepro/typo3-timelog: ^1.7.0
- buepro/typo3-user-pizpalue: ~4.0.0
- friendsoftypo3/tt-address: ^6.0.1
- georgringer/eventnews: 5.0.0
- georgringer/news: ^9.4.0
- typo3/cms-base-distribution: ^11.5
- typo3/cms-core: ^11.5
- typo3/cms-indexed-search: ^11.5
- typo3/cms-lowlevel: ^11.5
- typo3/cms-recycler: ^11.5
- typo3/cms-redirects: ^11.5
README
此composer包作为基础,用于启动基于 pizpalue 分发 的新 typo3 项目。
它使用 pizpalue 版本 14 和 TYPO3 版本 11。
快速入门
-
检查 shell PHP 版本
确保 shell 中的 PHP 版本与您的 TYPO3 版本兼容。
-
获取包
composer create-project buepro/typo3-pizpalue-distribution-base pizpalue
-
进入项目目录
cd pizpalue
-
设置 TYPO3
php vendor/bin/typo3cms install:setup \ --no-interaction \ --use-existing-database \ --database-host-name="127.0.0.1" \ --database-port="3306" \ --database-name="db" \ --database-user-name="db" \ --database-user-password="db" \ --admin-user-name="admin" \ --admin-password="password" \ --site-name="Pizpalue site" \ --web-server-config="apache" \ --skip-extension-setup
由于包
helhum/typo3-console
中的错误,跳过扩展设置。 -
设置扩展
vendor/bin/typo3 extension:setup
-
审查
composer.json
-
定义包
删除对
"buepro/typo3-pizpalue-distribution"
及所有网站不需要的包的依赖。注意:只需使用所需的包。在许多项目中只需要
buepro/typo3-pizpalue
和buepro/typo3-container-elements
。 -
为网站包添加仓库
"repositories": [ { "type": "vcs", "url": "../../git/typo3-user_pizpalue.git" } ],
-
检查 PHP 配置
确保在 shell 中使用的 PHP 版本与用于运行网站的 PHP 版本以及用于 cron 作业的 PHP 版本相对应。如果它们不同,您可能需要在
composer.json
中添加平台配置。一个可能的平台配置可能如下所示"config": { "platform": { "php": "8.1.9" } }
-
完成安装
修改 composer 配置后,完成安装
composer finalize-installation
-
更新根模板记录
未加载的扩展可能仍会在根模板记录中引用其静态模板。这可能导致渲染问题。要更新根模板记录,请打开并保存根页面的模板记录。
-
定期更新核心
为了保持核心更新,可能需要定义一个 cron 作业。一个可能的命令可能如下所示
cd ~/httpdocs/pizpalue && composer core-update
-