This assumes you have grunt and bower installed. Make sure you have npm, and have ran npm install -g bower grunt-cli
to install bower and grunt globally.
git clone https://www.github.com/nexusdev/nexusdev.github.io.git
cd nexusdev.github.io
npm install
bundle install
Run grunt to compile css from sass by simply run grunt
from your terminal within your repo.
It will launch watch by default. control-c
to stop. If you only want the css compiled once, run grunt sass
Then another tab and bundle exec jekyll serve -w
- edit
_config.yml
- edit html/md files (hint:
_layouts/default.html
is the base) - edit sass and run
grunt
(hint: Try editingscss/_stettings.scss
) - edit
_include/nav.html
To run jekyll locally to test your website while developing, run bundle exec jekyll serve --watch
(requires ruby)
Your website should be viewable by going to localhost:4000
Github's doc on how to use Jekyll on Github Pages is also helpful.
For more on Foundation stuff that I am using, see Foundation documentation
No, you'll need to either change your GEM_HOME
or do something like sudo gem install bundler -n /usr/local/bin
because of El Cap's introduction of SIP (System Integrity Protection).
Special thanks to HTML 5 Boilerplate whose code I have based this on. @kionoshp's padding-margin. Because it has become part of every site that I manage. and Font Awesome for bing awesome.