<commit_before>Middleman Delpoy -- Deploy a [middleman](http://middlemanapp.com/) built site over rsync.

===

## QUICK START

Be sure that `rsync` is installed.

### Step 1

    gem install middleman-deploy

### Step 2

    middleman init example-site
    cd example-site

### Step 3

Edit `Gemfile`, and add:

    gem "middleman-deploy"

Then run:

    bundle install

### Step 4

#### These settings are required.

Edit `config.ru`, and add:

    activate :deploy do |deploy|
      deploy.user = "tvaughan"
      deploy.host = "www.example.com"
      deploy.path = "/srv/www/site"
    end

Adjust these values accordingly.

### Step 4.1

#### These settings are optional.

To use a particular SSH port, add:

      deploy.port = 5309

Default is `22`.

To pass the `--delete` option to rsync, add:

      deploy.delete = true

Default is `false`.

### Step 5

    middleman build
    middleman deploy<commit_msg>credit where credit is due<commit_after>Middleman Delpoy -- Deploy a [middleman](http://middlemanapp.com/) built site over rsync.

===

## QUICK START

Be sure that `rsync` is installed.

### Step 1

    gem install middleman-deploy

### Step 2

    middleman init example-site
    cd example-site

### Step 3

Edit `Gemfile`, and add:

    gem "middleman-deploy"

Then run:

    bundle install

### Step 4

#### These settings are required.

Edit `config.ru`, and add:

    activate :deploy do |deploy|
      deploy.user = "tvaughan"
      deploy.host = "www.example.com"
      deploy.path = "/srv/www/site"
    end

Adjust these values accordingly.

### Step 4.1

#### These settings are optional.

To use a particular SSH port, add:

      deploy.port = 5309

Default is `22`.

To pass the `--delete` option to rsync, add:

      deploy.delete = true

Default is `false`.

### Step 5

    middleman build
    middleman deploy

### NOTES

Inspired by the rsync task in [Octopress](https://github.com/imathis/octopress).
{'fraction_non_alphanumeric': 0.11776859504132231, 'fraction_numerical': 0.013429752066115703, 'mean_word_length': 2.8280632411067192, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3883262', 'n_tokens_mistral': 671, 'n_tokens_neox': 617, 'n_words': 217}