「Php/deploy/deployer」の版間の差分
提供: 初心者エンジニアの簡易メモ
(→プロジェクト直下に設置) |
(→DLせずにcomposerを使って環境を整える) |
||
行18: | 行18: | ||
==DLせずにcomposerを使って環境を整える== | ==DLせずにcomposerを使って環境を整える== | ||
composer require deployer/deployer --dev | composer require deployer/deployer --dev | ||
+ | |||
+ | ==ひな形作成== | ||
+ | dep init | ||
+ | [0] Common | ||
+ | [1] Laravel | ||
+ | [2] Symfony | ||
+ | [3] Yii | ||
+ | [4] Zend Framework | ||
+ | [5] CakePHP | ||
+ | [6] CodeIgniter | ||
+ | [7] Drupal | ||
+ | > 0 | ||
+ | fwを使ってなければ0に | ||
==参考== | ==参考== | ||
http://tech.connehito.com/entry/2016/07/28/170858 | http://tech.connehito.com/entry/2016/07/28/170858 |
2017年12月12日 (火) 17:41時点における版
(作成途中)
目次
deployerのphp対応バージョン
Deployer 5.x supports only php7 and above. If you want to use older php version use Deployer 4.x
deployerのダウロード
http://deployer.org/deployer.phar
deployer4系ダウンロード
https://deployer.org/releases/v4.3.1/deployer.phar
プロジェクト直下に設置
$ wget http://deployer.org/deployer.phar $ mv deployer.phar /usr/local/bin/dep $ chmod +x /usr/local/bin/dep
DLせずにcomposerを使って環境を整える
composer require deployer/deployer --dev
ひな形作成
dep init [0] Common [1] Laravel [2] Symfony [3] Yii [4] Zend Framework [5] CakePHP [6] CodeIgniter [7] Drupal > 0
fwを使ってなければ0に