To install follow the instructions:
- Download code from github
git clone https://github.com/dacmail/wp-starter.git <your-project-name>
- Navigate to your project directory
cd <your-project-name>
- Install Grunt and Bower
npm install -g grunt bower
- Run
npm install
- Run
bower install
grunt
— Compile the files in your assets directory and put it in js/ and css/ folders.grunt prepare
— Move vendor assets from bower_components to assets folder (useful afterbower update
).grunt watch
— Compile assets when file changes are madegrunt build
— Compile/minimize assets and put it in js/ and css/ folders.
- Change WP_DEVELOPMENT_MODE to true in
inc/actions.php
to use files in assets folder without compiling.