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;
- Add new post
1
$ bundle exec jekyll post "My New Post"
- Link post Jekyll-Linking-to-posts