Design & Development quickstart with Jekyll & Foundation + Compass.
- Ruby 1.9+
- Foundation:
gem install foundation - Node.js
- compass:
gem install compass - bower:
npm install bower -g - Jekyll:
gem install jekyll
- Download this starter compass project and unzip it
- Important: Don't alter the files in the
bower_componentsfolder. These files will get updated when Foundation gets updated. - Run
bower installto install the latest version of Foundation - Check out the Foundation 5 Documentation
- Check out the Jekyll documentation
Then when you're working on your project, run the following command to watch the Sass folder and continually rebuild (poll) the CSS:
compass watchRun the following command to compile the CSS one time:
compass compileRun the following command to build the site with Jekyll:
jekyll buildRun the following command to build the site and serve it with Jekyll; changes will be watched and the site will automatically rebuild while being served:
jekyll serveTo use the legacy behavior where Jekyll serves, but doesn't watch for changes, run this way:
jekyll build --no-watchRun bower install to install the latest version of Foundation
If you'd like to upgrade to a newer version of Foundation down the road, run:
bower update