Jekyll¶
- Install dependencies. Arch Linux Debian
# pacman -S ruby base-devel
# apt-get install ruby-full build-essential
- Install Jekyll and bundler gems.
$ gem install jekyll bundler
- Create project directory.
$ mkdir <project-name>
- Create Gemfile.
$ bundle init
- Edit Gemfile.
$ nano Gemfile
# frozen_string_literal: true source "https://rubygems.org" gem "jekyll"
- Install bundle.
$ bundle install
- Create base directories.
$ mkdir {_data,_drafts,_includes,_layouts,_posts,_sass}
- Create configuration file.
$ nano _config.yml
External Links¶
Last update: November 17, 2021