ecodev / typo3-cms-speciality-distribution
TYPO3 CMS 专业发行版
此包的规范存储库似乎已消失,因此该包已被冻结。
dev-master
2021-02-24 18:20 UTC
Requires
- ext-json: *
- ext-mysqli: *
- ext-pdo: *
- ecodev/speciality-ecodev: dev-master
- fab/vidi: 3.3.*
- fluidtypo3/fluidpages: ^5.0
- fluidtypo3/flux: ^9
- fluidtypo3/vhs: ^6
- helhum/typo3-console: ^5.6
- lochmueller/staticfilecache: ^7.1
- netresearch/rte-ckeditor-image: ^9.0
- typo3/cms-belog: ^9.5
- typo3/cms-beuser: ^9.5
- typo3/cms-felogin: ^9.5
- typo3/cms-fluid-styled-content: ^9.5
- typo3/cms-lowlevel: ^9.5
- typo3/cms-rte-ckeditor: ^9.5
- typo3/cms-setup: ^9.5
- typo3/cms-tstemplate: ^9.5
- typo3/cms-viewpage: ^9.5
- typo3/minimal: ^9.5
Requires (Dev)
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2021-02-24 18:20:12 UTC
README
我们使用的TYPO3 CMS发行版包。
安装
使用Composer安装专业发行版。
# Download the Speciality Distribution via Composer
composer create-project ecodev/typo3-cms-speciality-distribution speciality.lan dev-master
如果使用DDev
cd speciality.lan # Just make sure the ddev version is accurate ddev config # Check the SQL version and other configuration # And change the domain name edit .ddev/config.yaml # Start the container ddev start ddev composer install ddev exec "touch htdocs/FIRST_INSTALL" # Open the Backend # Create a dummy page at the end of the installation wizard. http://speciality.lan/typo3 # -> Open the Extension Manager and installation EXT:speciality # Edit the "Home" page, BE and set the
如果您已经创建了示例页面,您希望在BE上pid = 0处创建一个默认的BE用户组,然后执行以下查询
-- Update the root page UPDATE pages SET tx_fed_page_controller_action = 'Ecodev.speciality->homePage', tx_fed_page_controller_action_sub = 'Ecodev.speciality->standard', TSconfig = '<INCLUDE_TYPOSCRIPT: source="DIR:EXT:speciality/Configuration/PageTS" extension="tsconfig">' WHERE uid = 1; -- Update the template UPDATE sys_template SET title = 'Main TypoScript', description = '', config = "@import 'EXT:speciality/Configuration/TypoScript'\n\nconfig.contentObjectExceptionHandler = 0", include_static_file = "EXT:fluid_styled_content/Configuration/TypoScript/" WHERE uid = 1; -- Update the User permission in the BE UPDATE be_groups SET title = 'User', groupMods = 'web,web_layout,web_list,file,file_VidiSysFileM1,content,content_VidiFeUsersM1,content_VidiFeGroupsM1,user,user_setup,user_MediaM1', tables_select = 'pages,sys_category,sys_file,sys_file_metadata,sys_file_reference,tt_content', tables_modify = 'pages,sys_category,sys_file,sys_file_metadata,sys_file_reference,tt_content', non_exclude_fields = 'sys_file_metadata:categories,pages:nav_hide,pages:hidden,tt_content:hidden', explicit_allowdeny = 'tt_content:CType:text:ALLOW,tt_content:CType:fluidcontent_content:ALLOW', pagetypes_select = '1,4,3,254', db_mountpoints = 1 WHERE uid = 1
Gitify项目
# Remove the old git info and create a new rm -rf .git git init git add . git ci -m "First commit"
下一步将是生成伪网站配置并添加BE权限... 这里还需要做。
如何继续?
作为下一步,您可能想更改CSS,添加一些自定义布局或自定义配置。您需要去的地方是EXT:speciality
,它位于htdocs/typo3conf/ext/speciality
。名称“speciality”只是我们在公司中作为惯例使用的扩展密钥。我们在我们的项目中保持使用它,这样我们就不必再思考源代码在哪里了。
- HTML模板 -
EXT:speciality/Resources/Private/
- 公共资源,如JavaScript和CSS文件 -
EXT:speciality/Resources/Public/
个人步骤
这些是在启动新网站时我遵循的内部步骤。
- 编辑
.gitignore
并删除LocalConfiguration.php
和PackageStates.php
- 从
htdocs/typo3conf/LocalConfiguration.php
中删除数据库凭证并将它们添加到configuration/Settings.php
- 编辑
composer.json
以删除“speciality” - 配置
config/sites/
- 在
htdocs/robots.txt
的末尾添加
Sitemap: http://www.speciality.lan/sitemap.xml
- 检查CRON配置并完善计划任务