<commit_before># jekyll-s3

Deploy your jekyll site to S3.

## Install

    gem install jekyll-s3

## Setup

  * Go to your jekyll site directory
  * Run `jekyll-s3`. It generates a configuration file called `_jekyll_s3.yml` that looks like that:
<pre>
s3_id: YOUR_AWS_S3_ACCESS_KEY_ID
s3_secret: YOUR_AWS_S3_SECRET_ACCESS_KEY
s3_bucket: your.blog.bucket.com
</pre>

  * Edit it with your details.

## Deploy!

  * Run `jekyll-s3`. Done.

## Want `http://www.my-awesome-blog.com/` to render `'index.html'`?
  
  * Setup Cloudfront to distribute your s3 bucket files (you can do that
    through the [AWS management console](https://console.aws.amazon.com/s3/home))
  * Set the cloudfront root object to index.html (you can use the
    [aws-cloudfront gem](https://github.com/iltempo/aws-cloudfront) to do so)

## Todo

  * Upload new / updated files *only*
  * Setup Cloudfront distribution
  * Invalidate updated files on Cloudfront


  <commit_msg>Update README to setup index.html as root file<commit_after># jekyll-s3

Deploy your jekyll site to S3.

## Install

    gem install jekyll-s3

## Setup

  * Go to your jekyll site directory
  * Run `jekyll-s3`. It generates a configuration file called `_jekyll_s3.yml` that looks like that:
<pre>
s3_id: YOUR_AWS_S3_ACCESS_KEY_ID
s3_secret: YOUR_AWS_S3_SECRET_ACCESS_KEY
s3_bucket: your.blog.bucket.com
</pre>

  * Edit it with your details.

## Deploy!

  * Run `jekyll-s3`. Done.

## Want the root url to render index.html?

  * Log into https://console.aws.amazon.com/s3/home
  * Set the Index document to index.html in Bucket Properties >
    Website.
  * Visit the website endpoint:
    (http://yourblog.s3-website...amazonaws.com)

## Todo

  * Upload new / updated files *only*
  * Setup Cloudfront distribution
  * Invalidate updated files on Cloudfront


  
{'fraction_non_alphanumeric': 0.10016510731975785, 'fraction_numerical': 0.014309301045679693, 'mean_word_length': 3.579345088161209, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, 'https://': 3, 'lorem ipsum': 0, 'www.': 1, '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': '1478303', 'n_tokens_mistral': 656, 'n_tokens_neox': 636, 'n_words': 196}