Skip to content

Latest commit

 

History

History
executable file
·
26 lines (20 loc) · 1.06 KB

readme.md

File metadata and controls

executable file
·
26 lines (20 loc) · 1.06 KB

Kirby Foundation, Fontawesome & Grunt

This ist the kirby-starterkit with a fully functional grunt-script, Fontawesome as Iconfont and foundation as CSS-Framework.

How to use:

git clone --recursive [email protected]:ausminternet/kirby-grunt-foundation.git
cd kirby-grunt-foundation
npm install
bower install
grunt build

Grunt tasks:

  • grunt build-bower: build all bower-dependencies.
  • grunt build: build the page (includes grunt build-bower)
  • grunt deploy: copy all relevant files to /dist for deployment (includes grunt build)
  • grunt watch: watches changes in:
    • assets/scss/*.scss: build css and inject in page
    • assets/js/*.js: build js and reload page
    • site/**/*.php: reload page

grunt watch will start a livereload-server, see site/snippets/footer.php. The script-tag which includes the server will be removed on grunt deploy.