My personal website.
Built with Jekyll and Grunt, deployed to Amazon S3.
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.txtIn a first terminal, watch for changes in JS or CSS files, compile and concatenate them as needed to the debug/ directory, by running:
$ grunt debugIn 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 serverGo to http://localhost:4000/ to see the site.
Create an environment variable file off of env/sample.sh with your own keys & secrets, and source it:
$ source env/production.shBuild the production-ready site with:
$ grunt buildThis 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 onceFinally, push the site with:
$ s3_website push