rikkeisoft / deployer-cakephp2
Example project for deployment CakePHP v2 project by Deployer
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 9
Forks: 1
Open Issues: 0
Language:Smarty
Requires
- php: >=5.4.0
- deployer/deployer: ~3.0.0
- deployphp/recipes: ~3.0.0
This package is not auto-updated.
Last update: 2022-02-01 12:46:24 UTC
README
A sample of CakePHP v2 project deployment using Deployer.
See http://deployer.org for more information and documentation about Deployer.
Here is another sample deployment.
Requirements
- PHP 5.4.0 and up.
That's all!
You can install ssh2 extension to speedup deployment process and enable sockets for parallel deployment.
Setting up SSH agent forwarding if needed.
Installation
Clone with git
$ git clone git@github.com:rikkeisoft/deployer-cakephp2.git <target-directory> $ cd <target-directory> $ composer install
or using composer
$ composer create-project rikkeisoft/deployer-cakephp2 <target-directory>
Usage
Customize stage/dev.php
or make a copy and write your own stages.
First deployment:
Create deploy directory in deploying server(s) if not exists, then run following commands
$ bin/dep deploy:configure <stage> $ bin/dep deploy <stage>
Next deployments:
$ bin/dep deploy <stage>
Using options -vvv
for debug
$ bin/dep deploy <stage> -vvv
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.
If you would like to help, take a look at the list of issues.
In case of security issues, please email to oanhnn@rikkeisoft.com
License
Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php