2017 © Pedro Peláez
 

symfony-bundle automatic-update-bundle

Enables automatic updates of the application from the Web Debug Toolbar.

image

leaseweb/automatic-update-bundle

Enables automatic updates of the application from the Web Debug Toolbar.

  • Tuesday, December 16, 2014
  • by LeaseWeb
  • Repository
  • 12 Watchers
  • 10 Stars
  • 303 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Deprecated

This repository is no longer being actively maintained. We encourage you to not use this code. If you rely on this code you might want to fork the repository to keep your systems from breaking, if we remove this repository in the future., (*1)

LswAutomaticUpdateBundle

screenshot, (*2)

Symfony2 bundle that enables automatic updates of the application from the Web Debug Toolbar., (*3)

screenshot, (*4)

Installation

Installation is broken down in 4 easy steps., (*5)

Step 1: Download LswAutomaticUpdateBundle using composer

Add LswAutomaticUpdateBundle in your composer.json:, (*6)

{
    "require": {
        "leaseweb/automatic-update-bundle": "*",
        ...
    }
}

Now tell composer to download the bundle by running the command:, (*7)

``` bash $ php composer.phar update leaseweb/automatic-update-bundle, (*8)


Composer will install the bundle to your project's `vendor/leaseweb` directory. ### Step 2: Enable the bundle Enable the bundle in the kernel: ``` php <?php // app/AppKernel.php public function registerBundles() { ... if (in_array($this->getEnvironment(), array('dev', 'test'))) { ... $bundles[] = new Lsw\AutomaticUpdateBundle\LswAutomaticUpdateBundle(); } }

Step 3: Add routes to support automatic update

Add the following lines to app/config/routing_dev.yml:, (*9)

automatic_update:
    resource: "@LswAutomaticUpdateBundle/Resources/config/routing/update.yml"

Step 4: Allow access to the automatic update actions

Add the following lines to app/config/security.yml:, (*10)

automatic_update:
    pattern: ^/update/
    security: false

Configuration

In parameters.yml you can specify the following:, (*11)

yml parameters: automatic_update.options: secret: "SomeVerySecretPassword" dry_run_commands: - "svn status -u" - "php composer.phar update --dry-run --ansi" - "app/console doctrine:schema:update --dump-sql" execute_commands: - "svn up" - "php composer.phar update --ansi" - "app/console doctrine:schema:update --force", (*12)

NB: You might want to run 'apache2-mpm-itk' to enable your website to run as a normal user, not as 'www-data', because this will simplify file rights management., (*13)

License

This bundle is under the MIT license., (*14)

The "circular arrows" icon in the web debug toolbar is part of the Picas icon set (official website: http://www.picasicons.com). The icon is licensed and may only be used to identifying the LswAutomaticUpdateBundle in the Symfony2 web debug toolbar. All ownership and copyright of this icon remain the property of Rok Benedik., (*15)

The Versions

16/12 2014

dev-master

9999999-dev http://www.leaseweblabs.com

Enables automatic updates of the application from the Web Debug Toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

debug composer update

16/12 2014

v1.0.3

1.0.3.0 http://www.leaseweblabs.com

Enables automatic updates of the application from the Web Debug Toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

debug composer update

26/08 2014

v1.0.2

1.0.2.0 http://www.leaseweblabs.com

Enables automatic updates of the application from the Web Debug Toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

debug composer update

10/05 2013

v1.0.1

1.0.1.0 http://www.leaseweblabs.com

Enables automatic updates of the application from the Web Debug Toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

debug composer update

26/03 2013

v1.0.0

1.0.0.0 http://www.leaseweblabs.com

Enables automatic updates of the application from the Web Debug Toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

debug composer update