2017 © Pedro Peláez
 

library deployment-bundle

Deployment plugin for symfony2

image

jihel/deployment-bundle

Deployment plugin for symfony2

  • Tuesday, February 20, 2018
  • by Jihel
  • Repository
  • 1 Watchers
  • 0 Stars
  • 202 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

DeploymentBundle

Simple bundle to run multiple commands at once for deployment, (*1)

1- Install

Add plugin to your composer.json require:, (*2)

{
    "require": {
        "jihel/deployment-bundle": "dev-master",
    }
}

or, (*3)

php composer.phar require jihel/deployment-bundle

Add bundle to AppKernel.php, (*4)

public function registerBundles()
{
    $bundles = array(
        ...
        new Jihel\Plugin\DeploymentBundle\JihelPluginDeploymentBundle(),
    );
}

2- Configure your config.yml

Add commands to your config.yml in the exact order you want them to be executed:, (*5)

jihel_plugin_deployment:
    commands:
        - "php app/console cache:clear --env=prod"
        - "php app/console assets:install web/"
        - "php app/console assetic:dump --force --env=prod"
        - "php app/console fos:js-routing:dump"

3- Usage

Simply run the command:, (*6)

php app/console jihel:plugin:deploy

4- Thanks

Thanks to me for giving my free time doing class for lazy developers. You can access read CV here, (*7)

The Versions

20/02 2018

dev-master

9999999-dev

Deployment plugin for symfony2

  Sources   Download

MIT

The Requires

 

by Joseph Lemoine