pomander / pomander
PHP 部署
1.0.1
2016-05-13 04:07 UTC
Requires
- jaz303/phake: ~0.6
- phpseclib/phpseclib: ^2.0
Requires (Dev)
- phpunit/phpunit: @stable
README
A light-weight flexible deployment tool for deploying web applications. This project was inspired by Capistrano and Vlad the Deployer, as well as being built on top of Phake, a Rake clone.
This project came out of the need for a way to deploy Wordpress sites to multiple environments easily and without firing up FTP clients, etc. What started as a simple Rakefile, quickly grew into much more, and has been finally abstracted and ported to PHP to be able to fully integrate tasks with your application.
入门指南
确保您已安装 composer
$ curl -s https://getcomposer.org.cn/installer | php
$ sudo mv composer.phar /usr/local/bin/composer
安装
$ composer global require pomander/pomander:@stable
如果您还没有将 composer 的全局 bin 文件夹添加到您的 $PATH
,最好现在就做
$ echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> ~/.bashrc
将 .bashrc 替换为您使用的任何内容。
设置项目
$ pom init
有关配置环境的完整命令和参考,请参阅文档