Example project for deployment PHP project (Slim Framwork) by Deployer
See http://deployer.org for more information and documentation about Deployer.
- PHP 5.6.0 and up.
If PHP 5.4.x or 5.5.x, please using branch 3.x (using Deployer 3.x)
git and run
$ git clone email@example.com:oanhnn/deployer-example.git <target-directory> $ cd <target-directory> $ composer install
$ composer create-project oanhnn/deployer-example <target-directory>
In this example using forward agent feature, to run it, please enable
sshforward agent the first. If using ssh2 extension, please require package
"herzult/php-ssh": "~1.0"and add line
deploy.phpfile before deployment. If using native ssh client, please add line
deploy.phpfile before deployment.
stage/dev.php or make a copy and write your own stages.
$ bin/dep deploy:configure <stage> $ bin/dep deploy <stage>
$ bin/dep deploy <stage>
-vvv for debug
$ bin/dep deploy <stage> -vvv
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.
If you would like to help take a look at the list of issues.
This project is released under the MIT License.
Copyright © 2015-2017 Oanh Nguyen.
Please see License File for more information.