oliver-hader / typo3-deployer
用于将TYPO3部署到远程服务器的部署工具
0.5.2
2020-01-24 13:35 UTC
Requires
- deployer/deployer: ^6.6
Suggests
- typo3/cms-core: ^9.5 || ^10.0
- typo3/cms-install: ^9.5 || ^10.0
This package is auto-updated.
Last update: 2024-08-25 00:21:04 UTC
README
实验性 此工具包仍处于实验阶段 - 在使用之前请备份远程主机!
目前仅支持从本地DDEV部署到远程SSH服务器
composer req --dev oliver-hader/typo3-deployer
使用方法
- 将
deploy.dist.php
复制到项目根目录,作为deploy.php
- 将
.host.dist.yml
复制到项目根目录,作为.host.yml
- 确保
.host.yml
未添加到公共Git仓库(添加到.gitignore
文件中) - 调整
.host.yml
清单文件(参见 https://deployer.org/docs/hosts.html#inventory-file)- 特殊的
typo3
属性允许定义TYPO3特定设置 typo3/settings
将与$TYPO3_CONF_VARS
合并typo3/databaseChanges
允许修改远程数据库记录(例如更改管理员密码)- 字符串前缀
::password-hash::
将将应用密码散列到值(目前默认为Argon2i) - 字符串前缀
::random-value::
将将64个随机字节作为十六进制字符应用
- 特殊的
部署
示例执行(假设 production
阶段已在 .host.yml
中配置)
vendor/bin/dep deploy production