承接 jihel/deployment-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jihel/deployment-bundle

Composer 安装命令:

composer require jihel/deployment-bundle

包简介

Deployment plugin for symfony2

README 文档

README

Simple bundle to run multiple commands at once for deployment

1- Install

Add plugin to your composer.json require:

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

or

php composer.phar require jihel/deployment-bundle

Add bundle to AppKernel.php

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:

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:

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

统计信息

  • 总下载量: 208
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-10-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固