v2 first draft

This commit is contained in:
Pedro Reis 2015-10-14 11:10:55 +01:00
parent 035b55a9ca
commit 2375fe7637
41 changed files with 837 additions and 239 deletions

View file

@ -5,12 +5,12 @@ A lightweight and skeletal WordPress boilerplate theme for HTML5 and beyond. The
## Features
* Reset, normalisation and base font/form styles
* Sass powered - semantically named files all compiled into a single file
* Sass Boilerplate - semantically named files, organised by folders, all compiled into a single file
* Semantic use of HTML5 elements, includes Google HTML5 shiv
* WAI-ARIA role ready
* Comes pre-bundled with cached CDN version of jQuery
* jQuery plugin agnostic
* Browserify for modular JavaScript in the browser, stop those spaghetti files!
* Laravel Elixir to define/customize and run basic Gulp tasks
* Basic index.php Loop template
* Customised functions.php adding theme support for high customisation
* Minimised HTTP requests for high Web Performance
@ -19,10 +19,13 @@ A lightweight and skeletal WordPress boilerplate theme for HTML5 and beyond. The
## Installation
Run the following commands to include barebones and all it's submodules:
Run the following commands to include barebones:
git clone https://github.com/benchmarkstudios/barebones
cd barebones
To include all its optional submodules ([Simple Grid](https://github.com/pdcreis/simple-grid) included):
git submodule init
git submodule update
@ -34,15 +37,19 @@ Run the following commands to include barebones and all it's submodules:
* [LiveReload Chrome plugin](https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei)
Clone/download the barebones repositories into your WordPress /wp-content/themes/ directory and run the following to install all of this project's Grunt dependencies:
Clone/download the barebones repositories into your WordPress /wp-content/themes/ directory and run the following to install all [Laravel Elixir](http://laravel.com/docs/master/elixir) dependencies:
npm install
Edit your gulpfile.js adding the required tasks (check the [Laravel Elixir](http://laravel.com/docs/master/elixir) documentation for further information and more tasks).
Then run:
npm run watch
gulp *to compile*
gulp watch *to watch*
gulp --production *to minify*
This will execute the default tasks: compiling sass/js and spawning the file watcher.
This will execute all the Gulp tasks on the gulpfile.js.
## WordPress Support