sudhaus7 / default-sitepackage
Sudhaus7 TYPO3 CMS 基础站点包
12.12
2023-07-24 15:25 UTC
Requires
- php: 8.1.* || 8.2.*
- ext-json: *
- ext-pdo: *
- ext-yaml: *
- helhum/typo3-console: ^8.0.0
- typo3/cms-about: 12.4.*
- typo3/cms-backend: 12.4.*
- typo3/cms-belog: 12.4.*
- typo3/cms-beuser: 12.4.*
- typo3/cms-composer-installers: 5.*
- typo3/cms-core: 12.4.*
- typo3/cms-extbase: 12.4.*
- typo3/cms-extensionmanager: 12.4.*
- typo3/cms-felogin: 12.4.*
- typo3/cms-filelist: 12.4.*
- typo3/cms-fluid: 12.4.*
- typo3/cms-fluid-styled-content: 12.4.*
- typo3/cms-form: 12.4.*
- typo3/cms-frontend: 12.4.*
- typo3/cms-impexp: 12.4.*
- typo3/cms-info: 12.4.*
- typo3/cms-install: 12.4.*
- typo3/cms-recordlist: 12.4.*
- typo3/cms-rte-ckeditor: 12.4.*
- typo3/cms-seo: 12.4.*
- typo3/cms-setup: 12.4.*
- typo3/cms-sys-note: 12.4.*
- typo3/cms-t3editor: 12.4.*
- typo3/cms-tstemplate: 12.4.*
- typo3/cms-viewpage: 12.4.*
Requires (Dev)
- phpunit/phpunit: *
- typo3/cms-adminpanel: 12.4.*
- typo3/cms-lowlevel: 12.4.*
- typo3/coding-standards: ^0.5.3
- dev-master
- 12.x-dev
- 12.12
- 12.11
- 12.10
- 12.9
- 12.8
- 12.7
- 12.6
- 12.5
- 12.4
- 12.3
- 12.2
- 12.1
- 11.x-dev
- 11.12
- 11.11
- 11.10
- 11.9
- 11.8
- 11.7
- 11.6
- 11.4
- 11.3
- 11.2
- 11.1
- 11.0
- 10.x-dev
- 10.4.9
- 10.4.8
- 10.4.7
- 10.4.6
- 10.4.5
- 10.4.4
- 10.4.3
- 10.4.2
- 10.4.1
- 10.4.0
- 10.3.0
- 10.2.9
- 10.2.7
- 10.2.6
- 10.2.5
- 10.2.4
- 10.2.3
- 10.2.1
- 10.2.0
- 10.1.2
- 10.1.1
- 10.1.0
- 10.0.1
- v10.0.0
- 9.x-dev
- 9.5.9
- 9.5.8
- 9.5.7
- 9.5.6
- 9.5.5
- 9.5.4
- 9.5.3
- 9.5.2
- 9.5.1
- v9.5.0
- v9.4.0
- v9.3.1
- v9.3.0
- v9.2.1
- v9.2.0
- v9.1.2
- v9.1.1
- v9.1.0
- 8.x-dev
- 8.7.5
- 8.7.4
- 8.7.3
- v8.7.2
- v8.7.1
- v8.7.0
- 7.6.10
- 7.6.1
- 7.6.0
- 6.2.x-dev
- 6.2.19
- 6.2.15
- 6.2.14
- 6.2.13
- 6.2.12
- 6.2.11
- 6.2.10
- 6.2.9
- 6.2.8
- 6.2.7
- 6.2.6
- 6.2.5
- 6.2.4
- 6.2.3
- 6.2.2
- 6.2.1
- 6.2.0
This package is auto-updated.
Last update: 2024-09-24 17:49:29 UTC
README
快速使用 TYPO3 CMS。
先决条件
快速入门
composer create-project sudhaus7/default-sitepackage project-name ^12
cd project-name
变更 (12)
- 添加了 init.sh 脚本以管理 git 初始化相关内容。
- 某些 composer 命令的入口点更新
变更 (10 和 11)
- 现在已安装并使用 typo3/coding-standards
- 添加了一个默认的 .php-cs-fixer.php 配置,并带有 Sudhaus7/B-Factor/12bis3/code711 特定的头部。如果您不是为 Sudhaus7/B-Factor/12bis3/code711 工作,可能需要更改该头部,否则它将应用于所有包中的文件
- 在 .githooks 中添加了一个预提交钩子,该钩子将使用 php-cs-fixer 解析即将提交的 php 文件
- 添加了 .gitconfig 以配置本地的 .githooks 文件夹
- 在
composer create-project
时,将执行 git-init(默认分支 main),并将此 .gitconfig 添加到配置中。
设置
要启动交互式安装,您可以执行以下命令,然后按照向导操作
php vendor/bin/typo3cms install:setup
无交互式安装(可选)
如果您是高级用户,可能希望利用无交互式安装。为此,您需要执行以下命令,并用您自己的环境配置替换参数。
php vendor/bin/typo3cms install:setup \
--non-interactive \
--database-user-name=typo3 \
--database-user-password=typo3 \
--database-host-name=127.0.0.1 \
--database-port=3306 \
--database-name=typo3 \
--use-existing-database \
--admin-user-name=admin \
--admin-password=password \
--site-setup-type=site
开发服务器
虽然建议使用更复杂的 Web 服务器,如 Apache 2 或 nginx,但您可以使用 PHP 内置的 Web 服务器立即运行项目。
TYPO3_CONTEXT=Development php -S localhost:8000 -t public
- 在浏览器中打开 "http://localhost:8000"
请注意,内置 Web 服务器是单线程的。这最终是一个性能杀手,如果一次性执行太多请求,可能会导致死锁。
许可证
GPL-2.0 或更新版