Skip to content

My personal website, built with Jekyll and Grunt, deployed to Amazon S3

Notifications You must be signed in to change notification settings

cdupoiron/nicolashery.com

 
 

Repository files navigation

nicolashery.com

My personal website.

Built with Jekyll and Grunt, deployed to Amazon S3.

Install

Requirements:

Clone this repo then install dependencies:

$ gem install --no-document jekyll compass compass-inuit s3_website
# Or: $ bundle install
$ npm install
$ bower install
$ pip install -r requirements.txt

Development

In a first terminal, watch for changes in JS or CSS files, compile and concatenate them as needed to the debug/ directory, by running:

$ grunt debug

In a second terminal, run the development server, watch for changes in Liquid layout or Markdown content files and rebuild the site as needed to the _site/ directory, by running (alias to jekyll serve --watch):

$ grunt server

Go to http://localhost:4000/ to see the site.

Deployment

Create an environment variable file off of env/sample.sh with your own keys & secrets, and source it:

$ source env/production.sh

Build the production-ready site with:

$ grunt build

This will compile, concatenate, and minify JS and CSS files in the build/ directory, and run jekyll build to build the site in the _site/ directory using the minified JS and CSS files.

If you haven't configured an Amazon S3 bucket yet, you can do so with the s3_website Gem by running (reads configuration from the s3_website.yml file):

$ s3_website cfg apply # You only need to do this once

Finally, push the site with:

$ s3_website push

About

My personal website, built with Jekyll and Grunt, deployed to Amazon S3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published