SHAO Zelian

人而无信,不知其可也 | 学不可以已

Jekyll 1 - How to create persone site using Github Pages and Jekyll?

Github Pages can provide free static web pages hosting. Jekyll is a popular static site generator that integrates seamlessly with GitHub Pages. Here’s how you can set up and use Jekyll with GitHub Pages…

References:

https://docs.github.com/en/pages
https://jekyllrb.com/docs
https://pages.github.com/themes

Part 1 - Quick start of creating personal site.

  1. Create Github repository.
  2. Enable Github Pages by settings.
  3. Apply Jekyll theme. (optional)
  4. Visit personal site.

1. Create Github repository.

2. Enable Github Pages by settings.

3. Apply Jekyll theme. (optional)

The step is optional. If you want to see how it is easy to quickly enable Jekyll theme, following the steps below.

4. Visit personal site.

Open https://{username}.github.io.

Part 2 - Set up local development and CI/CD environment.

In the real world, we normally need a local development environment which allows us to code, local debugging and testing. It doesn’t need deploy uncompleted work to remote website every time.
In this section, we will lead you step by step for how to set the local development using Microsoft Visual Studio within Windows system.

  1. Install Ruby+DevKit on Windows
  2. Install Jekyll
  3. Configure Jekyll Theme
  4. Build and run local site
  5. Q&A of common problems and errors

1. Install Ruby on Windows

2. Install Jekyll

3. Configure Jekyll Theme

 Important tips:

4. Build and run local site

5.  Q&A of common problems and errors