Home Welcome to Jekyll!
Post
Cancel

Welcome to Jekyll!

Some notes about building a site using Jekyll on macOS

Step1: Follow the instruction of Jekyll Installation Remember to relaunch the terminal after configuring your shell to automatically use chruby

Step2: Follow the Quickstart Jekyll Quickstart

//create a new Jekyll project

1
Jekyll new GuoJiechang.github.io

Step3: set this file as a git repository and push it to the remote

Step4: Check with My Github Page Then you can see your awesome site!

*build your site in local:

1
bundle exec jekyll serve

And browse to http://localhost:4000

Jekyll Cheat Sheet

How to add a new post via command? Jekyll-compose is the solution. See more details on Jekyll-compose;

  1. Add new post
    1
    
     $ bundle exec jekyll post "My New Post"
    
  2. Link post Jekyll-Linking-to-posts
This post is licensed under CC BY 4.0 by the author.
Trending Tags