AnunaBlade is based on Anunastart, but has some adjustments and improvements for even better workflow.
Gromf is a WordPress starter theme based on Roots 7.0, using Foundation & Gulp instead of Bootstrap & Grunt.
Prerequisite | How to check | How to install |
---|---|---|
PHP >= 5.4.x | php -v |
php.net |
NPM 2.11.1 | npm -v |
npmjs.com |
gulp >= 3.8.11 | gulp -v |
npm install -g gulp |
Bower >= 1.3.12 | bower -v |
npm install -g bower |
Composer | composer --version |
getcomposer.org |
To limit the need to stop and start Gulp to add bower-scripts and other stuff that is needed on all page requests, we've added a simpler method.
Add your scripts within the vendors.json
file and they magically become part of your scripts.js file (if you've booted gulp of course).
gulp
gulp --production
gulp watch
Roots has this thing they call DOM Based routing. In Anunastart you can route your stuff in the same way, except we are using this awesome jQuery-plugin called jquery-dom-router.
It's kind of exactly the same, only it responds to live changes of classes on your <body>
-tag and the syntax is way sexier. Check it out!
Blade is the template language of the excellent Laravel framework. Anunablade bases all of its templates on it, thanks to Blade for Wordpress.
- Install Composer dependencies:
composer install
- Install NPM packages:
[sudo] npm install
- Install Bower dependencies:
bower install
- Run Gulp for the first time:
gulp
(For more options see the above explaination)