Local Jekyll based website generation

In an ideal scenario, your Github served website could be build locally, with the same output structure and layout.

However, you need to install a local version of the theme first & get this to be compiled by Jekyll. The Github page has some more information (but see OS X comment below).

The sudo in the following commands may not be tequired, depending on your setup.

sudo gem install jekyll bundler rouge
sudo gem install github-pages

Change to your site’s source directory, and then:

bundle install

… to install the specific components.

From this site directory, you issue:

jekyll build

… to generate the html file structure, or

jekyll serve --incremental

… to run a server. Which should then answer with (more stuff) and

Server address:


Please see the Jekyll documentation for more options (e.g. how to generate your site into a specific target directory).

@mbaudis 2019-03-14
Edit on Github...