Razzi's guide to Jekyll
I use jekyll to build my static site (this site).
setup
sudo apt install ruby-bundler ruby-dev
installing ruby dependencies including jekyll
I set up bundle to install to a local folder so it doesn’t need sudo:
bundle config path --local vendor/bundle
This config tracked in .bundle/config.
Then I can install dependencies:
bundle install
This in my Makefile as make setup.
I run the server as follows:
bundle exec jekyll serve
This is in my Makefile as make serve.
source code
https://github.com/jekyll/jekyll