2017 © Pedro Peláez
 

library deploy

Easy deploy script for php-based projects

image

redcode/deploy

Easy deploy script for php-based projects

  • Thursday, July 2, 2015
  • by maZahaca
  • Repository
  • 1 Watchers
  • 0 Stars
  • 98 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 2 % Grown

The README.md

Deploy script

This library provides simple way to deploy php-based application to different environments., (*1)

Installation

  • Add to you composer.json file the line:
"redcode/deploy": "1.0.*",
  • Update composer with command:
composer update redcode/deploy

Configuration

After installation process you have to spend some time with configuration. Application allow configurations files in yml and json format., (*2)

Add config.yml into your project folder:, (*3)

package:
    include: "./app ./src ./web" # files which will be included to the package
    exclude: ".git" # files which will be excluded from the package
version: "vcs" # "vcs" - for getting from GIT, or any different for put as it
version-strategy: "merged" # (this option make sense only if version set to "vcs") set to "tag" for getting version from the nearest tag, set to "branch" for getting from branch. 
environment: # at least one environment must be set
    dev:
        name: "dev" # 
        host: "hostname" # hostname of the server
        path: "/var/www/website" # the location of the project on the server
    prod:
        name: "prod"
        host: "hostname2"
        path: "/var/www/website"
command:
    local: # commands for executing on a local machine 
        before: # before creating the package
            - "any command line to execute"
        after: # after creating the package
            - "any command line to execute"
    server: # commands for executing on a server
        before: # before build extracting 
            - "any command line to execute"
        after: # after build extracting
            - "any command line to execute"

Usage

cd project/path
bin/deploy

The Versions

02/07 2015

dev-master

9999999-dev

Easy deploy script for php-based projects

  Sources   Download

MIT

The Requires

 

git php environment vcs project deploy tar build unix

02/07 2015

0.1.1

0.1.1.0

Easy deploy script for php-based projects

  Sources   Download

MIT

The Requires

 

git php environment vcs project deploy tar build unix

02/07 2015

1.0.1

1.0.1.0

Easy deploy script for php-based projects

  Sources   Download

MIT

The Requires

 

git php environment vcs project deploy tar build unix

25/12 2014

1.0.x-dev

1.0.9999999.9999999-dev

Easy deploy script for php-based projects

  Sources   Download

MIT

The Requires

 

git php environment vcs project deploy tar build unix

02/04 2014

0.1.0

0.1.0.0

Deploy script

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

vcs deploy unix