deployer/README.md

104 lines
3.4 KiB
Markdown
Raw Normal View History

2013-07-11 18:40:44 +04:00
Introduction
------------
2015-01-17 15:48:06 +03:00
[![Build Status](http://img.shields.io/travis/deployphp/deployer.svg?style=flat)](https://travis-ci.org/deployphp/deployer)
[![Code Quality](http://img.shields.io/scrutinizer/g/deployphp/deployer.svg?style=flat)](https://scrutinizer-ci.com/g/deployphp/deployer/)
[![Code Climate](http://img.shields.io/codeclimate/github/deployphp/deployer.svg?style=flat)](https://codeclimate.com/github/deployphp/deployer)
[![Code Coverage](http://img.shields.io/scrutinizer/coverage/g/deployphp/deployer.svg?style=flat)](https://scrutinizer-ci.com/g/deployphp/deployer/)
2015-01-17 15:48:52 +03:00
[![Version](http://img.shields.io/packagist/v/deployer/deployer.svg?style=flat)](https://packagist.org/packages/deployer/deployer)
2014-10-17 21:12:56 +04:00
[![Support via Gittip](http://img.shields.io/gittip/elfet.svg?style=flat)](https://www.gittip.com/elfet)
2013-07-13 14:33:11 +04:00
2014-10-17 16:56:26 +04:00
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/69072898-df4a-4dee-ab05-c2ae83d6c469/big.png)](https://insight.sensiolabs.com/projects/69072898-df4a-4dee-ab05-c2ae83d6c469)
2014-08-13 13:21:13 +04:00
Deployer is a deployment tool written in PHP.
2013-07-13 14:33:11 +04:00
2015-01-17 15:48:06 +03:00
See [http://deployer.org](http://deployer.org) for more information and documentation.
2014-07-05 14:14:58 +04:00
2014-11-30 00:11:25 +03:00
Deployer 3.0
============
Deployer 3.0 developing roadmap:
* [x] Refactor Source
* [x] Refactor tasks
* [x] Refactor servers
* [x] Refactor Deployer class
2014-12-10 00:06:08 +04:00
* [x] Refactor task execution
2015-01-02 20:09:41 +03:00
* [x] New features
* [x] Environment default values
2014-12-10 00:06:08 +04:00
* [x] Local tasks `->once()`
* [x] Server filters `->onlyOn(...)`
2014-12-25 23:29:47 +03:00
* [x] Parallel task execution (:gem: *WOW!* :gem:)
2014-12-10 00:06:08 +04:00
* [x] Better output
2014-11-30 00:23:07 +03:00
* [ ] Refactor recipes
* [ ] Refactor common recipe
* [ ] Refactor Symfony recipe
* [ ] New recipes
* [ ] Zend Framework recipe
* [ ] Laravel recipe
* [ ] WordPress recipe
* [ ] Yii recipe
2015-01-17 15:48:06 +03:00
* [x] Move repository from `elfet/deployer` to `deployphp/deployer`
2015-01-19 15:45:13 +03:00
* [x] New site on deployer.org
2014-12-10 00:06:08 +04:00
* [x] Separate docs and site code
2015-01-22 12:36:30 +03:00
* [x] Auto updating docs script
2015-01-29 14:37:26 +03:00
* [x] Auto phar build script
* [ ] Write docs for v3.
2014-11-30 00:11:25 +03:00
2014-07-05 14:14:58 +04:00
2013-07-11 18:40:44 +04:00
Requirements
------------
* PHP 5.4.0 and up.
2014-11-29 22:39:25 +03:00
That's all!
You can install [ssh2 extension](http://php.net/manual/en/book.ssh2.php) to speedup deployment process and enable [sockets](http://php.net/manual/en/book.sockets.php) for parallel deployment.
2013-07-11 18:40:44 +04:00
2014-08-13 13:21:13 +04:00
2013-07-11 18:40:44 +04:00
Installation
------------
2015-01-17 15:59:09 +03:00
To install Deployer download [deployer.phar](http://deployer.org/deployer.phar) archive and move deployer.phar to your bin directory and make it executable.
2014-07-05 13:51:56 +04:00
2014-07-12 16:50:13 +04:00
~~~
mv deployer.phar /usr/local/bin/dep
chmod +x /usr/local/bin/dep
~~~
To upgrade Deployer run command:
~~~
dep self-update
~~~
2014-07-05 13:51:56 +04:00
2014-07-12 16:50:13 +04:00
Or via composer:
2014-07-05 13:51:56 +04:00
2014-07-12 16:50:13 +04:00
~~~
2015-01-17 15:59:09 +03:00
composer require deployer/deployer:~3.0
2014-07-12 16:50:13 +04:00
~~~
2014-07-05 13:51:56 +04:00
2014-08-13 13:21:13 +04:00
2014-07-05 13:51:56 +04:00
Documentation
-------------
2015-01-21 11:13:11 +03:00
Documentation source can be found in [deployphp/docs](https://github.com/deployphp/docs) repository.
2014-07-05 13:51:56 +04:00
2014-08-13 13:21:13 +04:00
Building
--------
2015-01-21 11:13:11 +03:00
To build `deployer.phar` run `bin/build` command.
2014-08-14 12:59:57 +04:00
2014-08-13 13:21:13 +04:00
Contributing
------------
All code contributions must go through a pull request and approved by a core developer before being merged.
This is to ensure proper review of all the code.
Fork the project, create a feature branch, and send a pull request.
To ensure a consistent code base, you should make sure the code follows
the [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md).
2014-08-13 13:21:13 +04:00
2015-01-17 15:59:09 +03:00
If you would like to help take a look at the [list of issues](https://github.com/deployphp/deployer/issues).
2014-08-13 13:21:13 +04:00
2013-07-11 19:00:21 +04:00
License
-------
2013-07-13 14:33:11 +04:00
Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php