I have installed Jerkyl in FreeBSD jail.
Bellow list of step:
- Install ruby and ruby gem
pkg add ruby ruby27-gems - Install sudo ( requred for pain less “bundle” run)
-
install Jerkyll per jekyll-docs
- Install Minimal Mistake
- Add the following to your Gemfile:
gem "minimal-mistakes-jekyll" - Fetch and update bundled gems by running the following Bundler command:
bundle - Set the theme in your project’s Jekyll _config.yml file:
theme: minimal-mistakes-jekyll minimal_mistakes_skin: darkcomment out
theme: minima
- Add the following to your Gemfile:
- install local web server for preview.
pkg add thttpd- add
max_age=5to /usr/local/etc/thttpd.conf - add
thttpd_enable="YES"to /etc/rc.conf and start server.
- add
-
run
bundle exec jekyll build --watch -d /usr/local/www/thttpd/in blog folder. Node: watch does not really works, it crashed every time it try to update site. - edited Gemfile one more time
- Please add the following to your Gemfile to avoid polling for changes:
require 'rbconfig' if RbConfig::CONFIG['target_os'] =~ /(?i-mx:bsd|dragonfly)/ gem 'rb-kqueue', '>= 0.2' end - gem install rb-kqueue
- Please add the following to your Gemfile to avoid polling for changes:
After this website start getting some shape. I also add bit info to _config.yaml to personalise site