razzi.abuissa.net

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 vendor/bundle --local

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

depends on