Blog. Jekyll with adopted Bootstrap 4 blog theme

Running locally

Check whether you have Ruby 2.1.0 or higher installed:

$ ruby --version
ruby 2.X.X

Install Bundler:

$ gem install bundler
# Installs the Bundler gem

Install Jekyll and other dependencies from the GitHub Pages gem:

$ bundle install
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...

Run locally

$ bundle exec jekyll serve --drafts --incremental
Configuration file: /Users/hacker/cloned/repo/_config.yml
            Source: /Users/hacker/cloned/repo/
       Destination: /Users/hacker/cloned/repo/_site
 Incremental build: disabled. Enable with --incremental
                    done in 1.06 seconds.
 Auto-regeneration: enabled for '/Users/hacker/cloned/repo'
    Server address:
  Server running... press ctrl-c to stop.

Above flag --drafts includes draft posts from _drafts/ directory. Docs

Import post from Medium

Install mediumexporter

npm install -g mediumexporter

Convert post to markdown

$ mediumexporter link-to-medium-post > _posts/2018-02-01-post-name.md