My personal blog. Development with Jekyll & Refills
JavaScript CSS HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_drafts
_includes
_layouts
_posts
_sass
css
fonts
images
js
mp3
.gitignore
404.html
CNAME
Gruntfile.js
README.md
_config.yml
about.md
bower.json
favicon.ico
feed.xml
index.html
package.json

README.md

Blog

Posts about front-end development

blog.garciaechegaray.com


Tools

  • Jekyll: A simple, blog-aware, static site generator perfect for personal, project, or organization sites.

  • Refills: Components and patterns built with Bourbon and Neat.

  • Sass: CSS with superpowers.

  • Bower: A package manager for the web.

  • Bower Copy: Scrupulously manage file locations for bower dependencies.

  • Grunt: The JavaScript task runner.

  • Grunt Goggle Fonts: Download Google Fonts in Grunt jobs.

  • Uglify: Minify JavaScript files.

  • Minify SVG: Minify SVG using SVGO.

  • Minify CSS: Compress CSS files.

  • Image Min: Minify PNG and JPEG images.

  • JSHint: Validate JavaScript files.


Project dependencies

Node with NVM

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash

$ nvm install node

$ nvm ls

$ nvm alias default [NODE_VERSION]

Ruby with RVM

Before install RVM your terminal must run command as a login shell

$ command curl -sSL https://rvm.io/mpapis.asc | gpg --import -

$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

$ curl -L https://get.rvm.io | bash -s stable --autolibs=enabled --ruby

$ rvm list

$ rvm use --default [RUBY_VERSION]

Jekyll, sitemap and update Sass

$ gem install jekyll

$ gem update sass

$ gem install jekyll-sitemap

Bower and Grunt CLI

$ npm install -g bower

$ npm install -g grunt-cli

Install packages

$ bower install

$ npm install

Init tasks ('bowercopy', 'googlefonts', 'jshint', 'uglify')

$ grunt default


Launch project

Run Jekyll server in watch mode

$ jekyll s -w

Run Jekyll server in watch mode and show drafts

$ jekyll s -w --drafts