Usage
Check the Jekyll usage docs for current info.
Create new site
Create a new Jekyll site (must be an empty folder):
jekyll new ./some-folder
Build
# The current folder will be generated into ./_site
jekyll build
# The current folder will be generated into ./_site,
# watched for changes, and regenerated automatically.
jekyll build --watch
Serve locally
Start a development server at http://localhost:4000/ with regeneration enabled.
jekyll serve
Using Jekyll with GitHub Pages
Open the Gemfile
and edit these lines:
# Comment out this line.
#gem "jekyll", "3.4.1"
# Uncomment this line.
gem "github-pages", group: :jekyll_plugins
Run this command:
bundle update github-pages