- Install ruby(and gem) and github cli using brew.
brew update
brew install ruby gh
# check ruby version
ruby --version
# login gh.
gh auth login
- Clone current Blog repo.
gh repo clone JinwangMok/JinwangMok.github.io
cd JinwangMok.github.io
- Install bundle and run local server.
bundle install
bundle exec jekyll serve