<commit_before># Jekyllbase AWS

Fork of my Jekyll starter [Jekyllbase](https://github.com/urre/jekyllbase). Jekyllbase AWS is for deploying your Jekyll site to Amazon S3. 

## Features

Like my [Jekyllbase](https://github.com/urre/jekyllbase) but with the addition of using the Jekyll plugin [Jekyll Assets](https://github.com/jekyll-assets/jekyll-assets) (Assets pipelines for Jekyll). Used for nice finger printed assets.

## Setup

Install Ruby Gems with Bundler

	bundle install 

Install NPM dependencies

	npm install

Install Bower dependencies

	bower install

## Develop

With a single command you have the site spinning locally at [http://localhost:3000/](http://localhost:3000/). [BrowserSync](http://www.browsersync.io) injects and reloads on file changes (Sass files, Markdown files and html files/includes).

    gulp

## Build

### Build for production for use on AWS or host it your self on a VPS. I recommend [digitalocean.com](http://digitalocean.com)

	gulp prod


## Deploy

### Deploy to Amazon S3 (using [s3_website](https://github.com/laurilehmijoki/s3_website))

First read credentials via an ``.env`` file to ``s3_website.yml``. Do not version control your credentials.

	s3_website push<commit_msg>Hosting info<commit_after># Jekyllbase AWS

Fork of my Jekyll starter [Jekyllbase](https://github.com/urre/jekyllbase). Jekyllbase AWS is for deploying your Jekyll site to Amazon S3. 

## Features

Like my [Jekyllbase](https://github.com/urre/jekyllbase) but with the addition of using the Jekyll plugin [Jekyll Assets](https://github.com/jekyll-assets/jekyll-assets) (Assets pipelines for Jekyll). Used for nice finger printed assets.

## Setup

Install Ruby Gems with Bundler

	bundle install 

Install NPM dependencies

	npm install

Install Bower dependencies

	bower install

## Develop

With a single command you have the site spinning locally at [http://localhost:3000/](http://localhost:3000/). [BrowserSync](http://www.browsersync.io) injects and reloads on file changes (Sass files, Markdown files and html files/includes).

    gulp

## Build

### Build for production 

For use on [Amazon AWS](http://aws.amazon.com) on a S3 bucket. (Or host it your self on a VPS. I recommend [digitalocean.com](http://digitalocean.com))

	gulp prod


## Deploy

### Deploy to Amazon S3 (using [s3_website](https://github.com/laurilehmijoki/s3_website))

First read credentials via an ``.env`` file to ``s3_website.yml``. Do not version control your credentials.

	s3_website push
{'fraction_non_alphanumeric': 0.1015593762495002, 'fraction_numerical': 0.011595361855257898, 'mean_word_length': 4.462882096069869, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3970617', 'n_tokens_mistral': 819, 'n_tokens_neox': 762, 'n_words': 277}