Reference: Setting up your GitHub Pages site locally with Jekyll.
- Follow the instruction above to make sure you have
ruby --version
. - Follow the instruction above to install
bundler
:gem install bundler
. - Clone git repository:
git clone https://github.com/zowe/blog.git
then switch to blog directorycd blog
. - Install Jekyll and other dependencies from the GitHub Pages gem:
bundle install
. - Run your Jekyll site locally:
bundle exec jekyll serve
- Preview your local Jekyll site in your web browser at
http://localhost:4000/blog/
.