Skip to main content

Jekyll #


Basics #

Installation #

Start new site #

# In parent folder

$ jekyll new a-website
$ cd a-website


  • In .gitignore add: Gemfile.lock
  • In Gemfile add: gem "webrick"

Update or install gems:

# If `Gemfile.lock` does not exist
$ bundle install

# Otherwise
$ bundle update

Start local server: (the address is Server address)

$ bundle exec jekyll serve --livereload

# In the case of GitHub Pages
$ bundle exec jekyll serve --livereload --safe