All Projects → aerialls → Madalynnplumbundle

aerialls / Madalynnplumbundle

Licence: mit
The deploy bundle using Plum for Symfony2

Projects that are alternatives of or similar to Madalynnplumbundle

Resthooks
A lightweight subscription notification layer on top of your existing REST API
Stars: ✭ 525 (+1919.23%)
Mutual labels:  deprecated
Progit
Pro Git Book Content, 1st Edition - This content is deprecated. See 2nd edition at [progit2](https://github.com/progit/progit2)
Stars: ✭ 5,972 (+22869.23%)
Mutual labels:  deprecated
Materialdrawer Xamarin
DEPRECATED!!! Xamarin bindings for https://github.com/mikepenz/MaterialDrawer
Stars: ✭ 22 (-15.38%)
Mutual labels:  deprecated
Chosen
Deprecated - Chosen is a library for making long, unwieldy select boxes more friendly.
Stars: ✭ 22,136 (+85038.46%)
Mutual labels:  deprecated
Pilbox
An image resize application server
Stars: ✭ 597 (+2196.15%)
Mutual labels:  deprecated
Localart
An HTML5 mobile app for navigating & browsing locations of public art, architecture, and culture in Norfolk, VA.
Stars: ✭ 5 (-80.77%)
Mutual labels:  deprecated
Android Crop
Android library project for cropping images
Stars: ✭ 4,521 (+17288.46%)
Mutual labels:  deprecated
Esp32 Http Update
Clone of https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266httpUpdate for ESP32
Stars: ✭ 25 (-3.85%)
Mutual labels:  deprecated
Mern Starter
⛔️ DEPRECATED - Boilerplate for getting started with MERN stack
Stars: ✭ 5,175 (+19803.85%)
Mutual labels:  deprecated
Gamejoltlua
Access to GameJolt's opportunities for all your lovely Lua projects.
Stars: ✭ 18 (-30.77%)
Mutual labels:  deprecated
Mern Cli
⛔️ DEPRECATED - A cli tool for getting started with MERN
Stars: ✭ 575 (+2111.54%)
Mutual labels:  deprecated
Ui Fabric Ios
DEPRECATED Please use the new repo
Stars: ✭ 590 (+2169.23%)
Mutual labels:  deprecated
Watset
Watset: Automatic Induction of Synsets from a Graph of Synonyms
Stars: ✭ 16 (-38.46%)
Mutual labels:  deprecated
Time Grunt
Display the elapsed execution time of grunt tasks
Stars: ✭ 531 (+1942.31%)
Mutual labels:  deprecated
Doctrinemigrations
[DEPRECATED] Use Phinx instead
Stars: ✭ 24 (-7.69%)
Mutual labels:  deprecated
Nickjs
Web scraping library made by the Phantombuster team. Modern, simple & works on all websites. (Deprecated)
Stars: ✭ 494 (+1800%)
Mutual labels:  deprecated
Miniproxy
🚨⚠️ UNMAINTAINED! ⚠️🚨 A simple PHP web proxy.
Stars: ✭ 810 (+3015.38%)
Mutual labels:  deprecated
Otc Tools
(Deprecated) Simple bash/curl/jq based command line tool using the OpenStack and OTC specific REST APIs.
Stars: ✭ 26 (+0%)
Mutual labels:  deprecated
Django Jquery Widgets
This project is no longer maintained.
Stars: ✭ 24 (-7.69%)
Mutual labels:  deprecated
Fluent Plugin Grep
(Deprecated) Fluentd output plugin to grep messages
Stars: ✭ 17 (-34.62%)
Mutual labels:  deprecated

MadalynPlumBundle

The PlumBundle is a deploy bundle using several deployers.

Installation and configuration

If you use a deps file just add:

[plum]
    git=https://github.com/aerialls/Plum.git

[MadalynnPlumBundle]
    git=https://github.com/aerialls/MadalynnPlumBundle.git
    target=bundles/Madalynn/Bundle/PlumBundle

Or by using Git:

git clone https://github.com/aerialls/MadalynnPlumBundle.git vendor/bundles/Madalynn/Bundle/PlumBundle
git clone https://github.com/aerialls/Plum.git vendor/plum

Or by Composer

"require": {
    "madalynn/plum-bundle": "dev-master"
},

You need to add to your autoload.php: (not necessary if you're using Composer)

// app/autoload.php
$loader->registerNamespaces(array(
    // ...
    'Madalynn' => __DIR__.'/../vendor/bundles',
    'Plum'     => __DIR__.'/../vendor/plum/src'
));

And add the MadalynnPlumBundle to your Kernel for the dev/test environment only.

// app/AppKernel.php
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
    // ...
    $bundles[] = new Madalynn\Bundle\PlumBundle\MadalynnPlumBundle();
}

Deployers

By default, Plum provides 2 providers : Plum\Deployer\RsyncDeployer and Plum\Deployer\SshDeployer. Here are the options for each :

  • Plum\Deployer\RsyncDeployer
  • dry_run
  • rsync_exclude
  • Plum\Deployer\SshDeployer
  • dry_run
  • commands

You can add your own deployer by using the Plum\Deployer\DeployerInterface interface.

Configuration example

# app/config/config_dev.yml
madalynn_plum:
    options: # Global options
        dry_run: false
        rsync_exclude: "%kernel.root_dir%/config/rsync_exclude.txt"
        commands:
            - 'php app/console cache:clear --env=prod --no-debug'
    deployers:
        - Plum\Deployer\RsyncDeployer
        - Plum\Deployer\SshDeployer
        - Acme\Deployer\MyCustomDeployer
    servers_file: "%kernel.root_dir%/config/deployment.yml"

The aim here is to seperate the servers configration from the rest. It is then possible to add the deployment.yml to the exclude file.

# app/config/deployment.yml
servers:
    production:
        host: prod.mywebsite.com
        user: webuser
        dir: /var/www/mywebsite
        port: 2321 # Optional, default 22
        password: myPaSsWoRd # Just for the SSH deployer
        options: # Server options, override the globals
            dry_run: %kernel.debug%
    dev:
        host: dev.mywebsite.com
        user: webuser
        dir: /var/www/mywebsite2

Start a deploy

php app/console plum:deploy production --no-debug

You can specify a custom deployer via an extra parameter

php app/console plum:deploy production rsync,ssh
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].