0 功能簡介
php實現的自動化部署的任務執行工具
1 專案地址
https://github.com/deployphp/…
2 程式碼結構
-
deployer-master
- bin //命令列入口目錄 build //? dep //deployer命令列入口 - recipe //常用專案配置模板 - scripts //deployer釋出指令碼 - src //核心實現 - vendor //composer安裝生成目錄
3 recipe 常用專案配置模板
recipe目錄下包括一些常見php框架部署配置模板
config config相關命令
current.php 當前執行伺服器 目錄資訊
dump.php 當前配置資訊
hosts.php 當前伺服器資訊
deploy deploy相關命令
cleanup.php
clear_paths.php
copy_dirs.php
info.php
lock.php
prepare.php
release.php
rollback.php
shared.php
symlink.php
update_code.php
vendors.php
writable.php
cakephp.php
codeigniter.php
common.php
composer.php
drupal7.php
drupal8.php
flow_framework.php
fuelphp.php
laravel.php
magento.php
magento2.php
silverstripe.pphp
symfony.php
symfony3.php
typo3.php
wordpress.php
yii.php
yii2-app-advanced.php
yii2-app-basic.php
zend_framework.php
4 src 核心實現
Collection
Configuration
Console
Exception
Executor
Host
Initializer
Logger
Ssh
Support
Task
Type
Utility
Deployer.php
functions.php
相關目錄檔案功能,待分析完成後補充
-2018.4.4 22:10