dev-master
9999999-devDeployment plugin for symfony2
MIT
The Requires
- php >=5.3.3
- symfony/symfony >=2.4
by Joseph Lemoine
Wallogit.com
2017 © Pedro Peláez
Deployment plugin for symfony2
Simple bundle to run multiple commands at once for deployment, (*1)
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(),
);
}
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"
Simply run the command:, (*6)
php app/console jihel:plugin:deploy
Thanks to me for giving my free time doing class for lazy developers. You can access read CV here, (*7)
Deployment plugin for symfony2
MIT