20 April 2013

New HTML Boilerplate project

An Alfred 2 Workflow that downloads the latest HTML5 Boilerplate from GitHib, creates a new project and opens it in SublimeText 2 and your favourite browser. Requires Git.


$ new html <project name>

This will create a new folder in ~/Sites/<project name> and clone the HTML5 Boilerplate into it.

Download Here


$ mkdir ~/Sites/{query} && cd ~/Sites/{query}

$ git clone git://github.com/h5bp/html5-boilerplate.git .

$ rm -rf doc

$ /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl .

$ open index.html