2017 © Pedro Peláez
 

application deployer-example

Example project for deployment PHP project (Slim Framwork) by Deployer

image

oanhnn/deployer-example

Example project for deployment PHP project (Slim Framwork) by Deployer

  • Monday, January 23, 2017
  • by oanhnn
  • Repository
  • 3 Watchers
  • 29 Stars
  • 36 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 0 Open issues
  • 5 Versions
  • 6 % Grown

The README.md

Introduction

Join the chat at https://gitter.im/oanhnn/deployer-example, (*1)

An example for use Deployer to deployment PHP project.
In this example, i'm will deploy a project using Slim framework follow my slim-skeleton, (*2)

See http://deployer.org for more information and documentation about Deployer., (*3)

Requirements

  • PHP 5.6.0 and up.

That's all!, (*4)

If PHP 5.4.x or 5.5.x, please using branch 3.x (using Deployer 3.x), (*5)

You can install ssh2 extension to speedup deployment process and enable sockets for parallel deployment., (*6)

Installation

Clone with git and run composer install, (*7)

$ git clone git@github.com:oanhnn/deployer-example.git <target-directory>
$ cd <target-directory>
$ composer install

or using composer, (*8)

$ composer create-project oanhnn/deployer-example <target-directory>

Usage

In this example using forward agent feature, to run it, please enable ssh forward agent the first. If using ssh2 extension, please require package "herzult/php-ssh": "~1.0" and add line set('ssh_type', 'ext-ssh2'); to deploy.php file before deployment. If using native ssh client, please add line set('ssh_type', 'native'); to deploy.php file before deployment., (*9)

Customize stage/dev.php or make a copy and write your own stages., (*10)

First deployment:, (*11)

$ bin/dep deploy:configure <stage>
$ bin/dep deploy <stage>

Next deployments:, (*12)

$ bin/dep deploy <stage>

Using options -vvv for debug, (*13)

$ 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., (*14)

Fork the project, create a feature branch, and send a pull request., (*15)

To ensure a consistent code base, you should make sure the code follows the PSR-1., (*16)

If you would like to help take a look at the list of issues., (*17)

License

This project is released under the MIT License.
Copyright © 2015-2017 Oanh Nguyen.
Please see License File for more information., (*18)

The Versions

23/01 2017

dev-master

9999999-dev https://github.com/oanhnn/deployer-example

Example project for deployment PHP project (Slim Framwork) by Deployer

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

23/06 2016

3.x-dev

3.9999999.9999999.9999999-dev

Example project for deployment PHP project (slim framwork) by Deployer

  Sources   Download

MIT

The Requires

 

19/08 2015

v1.1.0

1.1.0.0

Example project for deployment PHP project (slim framwork) by Deployer

  Sources   Download

MIT

The Requires

 

23/07 2015

v1.0.1

1.0.1.0

Example project for deployment PHP project (slim framwork) by Deployer

  Sources   Download

MIT

The Requires

 

15/05 2015

v1.0.0

1.0.0.0

Example project for deployment PHP project (slim framwork) by Deployer

  Sources   Download

MIT

The Requires