<commit_before>This is the source that becomes [immutant.org](http://immutant.org/). 

## Building It

You'll need ruby 1.8.7 or greater and the [awestruct gem](http://awestruct.org/). 
The easiest way to get awestruct and its dependencies is to use [bundler](http://gembundler.com):

    ~/immutant.org $ gem install bundler
    ~/immutant.org $ bundle install
    
Then run awestruct in development mode:

    ~/immutant.org $ bundle exec awestruct -d

This will generate the static site into `_site` and serve it on [http://localhost:4242/](http://localhost:4242/)

Most of the changes you make to the source files should be noticed immediately
and trigger the proper regenerations. Some changes may not get picked up - in that
case, you'll need to stop awestruct, `rm -rf _site`, and restart awestruct.

## Deploying It

We use CI to build and deploy. 

Pushing to master should generate a staging build that pushes to:
<staging.immutant.org>.

To have CI generate the live site, push to the production branch:
    
    git push origin master:production<commit_msg>Do md autolinking correctly.<commit_after>This is the source that becomes [immutant.org](http://immutant.org/). 

## Building It

You'll need ruby 1.8.7 or greater and the [awestruct gem](http://awestruct.org/). 
The easiest way to get awestruct and its dependencies is to use [bundler](http://gembundler.com):

    ~/immutant.org $ gem install bundler
    ~/immutant.org $ bundle install
    
Then run awestruct in development mode:

    ~/immutant.org $ bundle exec awestruct -d

This will generate the static site into `_site` and serve it on [http://localhost:4242/](http://localhost:4242/)

Most of the changes you make to the source files should be noticed immediately
and trigger the proper regenerations. Some changes may not get picked up - in that
case, you'll need to stop awestruct, `rm -rf _site`, and restart awestruct.

## Deploying It

We use CI to build and deploy. 

Pushing to master should generate a staging build that pushes to:
<http://staging.immutant.org>.

To have CI generate the live site, push to the production branch:
    
    git push origin master:production
{'fraction_non_alphanumeric': 0.08518518518518518, 'fraction_numerical': 0.010185185185185186, 'mean_word_length': 3.8129175946547886, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '388077', 'n_tokens_mistral': 660, 'n_tokens_neox': 619, 'n_words': 282}