2017 © Pedro Peláez
 

symfony-bundle updatebundle

Symfony2 Bundle that manages keeping code and database up to date with eachother on a constant basis

image

kmj/updatebundle

Symfony2 Bundle that manages keeping code and database up to date with eachother on a constant basis

  • Monday, July 1, 2013
  • by demoboy
  • Repository
  • 1 Watchers
  • 0 Stars
  • 69 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

KMJUpdateBundle

Welcome to the KMJUpdateBundle. The goal of this bundle is to provide an easy way to keep code bases the same across servers, a push once and it will get done approach., (*1)

1) Installation

KMJUpdateBundle can conveniently be installed via Composer. Just add the following to your composer.json file:, (*2)

// composer.json
{
    // ...
    require: {
        // ..
        "kmj/updatemaster": "dev-master"

    }
}

Then, you can install the new dependencies by running Composer's update command from the directory where your composer.json file is located:, (*3)

    php composer.phar update

Now, Composer will automatically download all required files, and install them for you. All that is left to do is to update your AppKernel.php file, and register the new bundle:, (*4)

// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new KMJ\UpdateBundle\KMJUpdateBundle(),
    // ...
);

2) Usage

The KMJUpdateBundle is called as console command only., (*5)

app/console kmj:update:update

Based on the configuration selected, this command will pull branch selected, either install composer.phar to the latest lock file or update it to the newest available version, and finally if the command is not running in the production environment, it will use the KMJSyncBundle and sync uploaded files and the database., (*6)

3) Configuration

kmj_update: sync: true #set to false if you do not want the database to sync or you do not have the KMJSyncBundle installed composershouldupdate: true #set to false to have composer use the lock file to install dependencies git: remote: origin #The remote name in the git config branch: develop #The banch to pull from on the remote server, (*7)

The Versions

01/07 2013

dev-master

9999999-dev http://github.com/Demoboy/UpdateBundle

Symfony2 Bundle that manages keeping code and database up to date with eachother on a constant basis

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kaelin Jacobson

updating kmj

01/07 2013

dev-develop

dev-develop http://github.com/Demoboy/UpdateBundle

Symfony2 Bundle that manages keeping code and database up to date with eachother on a constant basis

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kaelin Jacobson

updating kmj