Skip to content

Jekyll

  1. Install dependencies. Arch Linux
    # pacman -S ruby base-devel
    
    Debian
    # apt-get install ruby-full build-essential
    
  2. Install Jekyll and bundler gems.
    $ gem install jekyll bundler
    
  3. Create project directory.
    $ mkdir <project-name>
    
  4. Create Gemfile.
    $ bundle init
    
  5. Edit Gemfile.
    $ nano Gemfile
    
    # frozen_string_literal: true
    
    source "https://rubygems.org"
    
    gem "jekyll"
    
  6. Install bundle.
    $ bundle install
    
  7. Create base directories.
    $ mkdir {_data,_drafts,_includes,_layouts,_posts,_sass}
    
  8. Create configuration file.
    $ nano _config.yml
    
    
    

Last update: November 17, 2021