# DeployTo

A rubygem application that lets you deploy via rsync using --excludes and host information defined in a config file within your project.

## Example deploy-to.yml
    
    # Ignore files, relative from base (currently base is the root of the project only)
    ignore: [
      .htaccess,
      .DS_Store
    ]
    
    # OPTIONAL: Re-define the base relative to the project root.
    # If this is not set, the base will be the project root.
    # base: lib

    # deploy-to sites definition
    remotes:
      # Production server
      production:
        host: example.com
        user: bshelton
        path: ~/example.com/
      
      # Dev Server
      dev:
        host: dev.example.com
        user: bshelton
        path: ~/dev.example.com

# DeployTo

A rubygem application that lets you deploy via rsync using --excludes and host information defined in a config file within your project.

## Example deploy-to.yml
    
    # Ignore files, relative from base (currently base is the root of the project only)
    ignore: [
      .htaccess,
      .DS_Store
    ]
    
    # OPTIONAL: Re-define the base relative to the project root.
    # If this is not set, the base will be the project root.
    # base: lib

    # deploy-to sites definition
    remotes:
      # Production server
      production:
        host: example.com
        user: bshelton
        path: ~/example.com/
        post_commands: ['~/bin/cleanup.sh', 'rake db:migrate']
      
      # Dev Server
      dev:
        host: dev.example.com
        user: bshelton
        path: ~/dev.example.com

Update the readme to reflect the post_commands configuration
Update the readme to reflect the post_commands configuration
