Skip to content

devFancy/devfancy.github.io

Repository files navigation

📌 The template is based on the Github Blog Template created by HyG.

For the Korean version of the template, I referred to the Github Blog Template by Gid.

Writing Commit Messages

  • When creating a new post for the first time, write the commit message as Write {Category} Post " {Title} ".

    • Example: If the category is DevHistory and the title is "2024 Dev History",

    • the commit message should be written as Write DevHistory Post " 2024 Dev History ".

  • If you are updating an existing post, write the commit message as Update {Category} Post " {Title}.

How to Add or Modify Categories

Unlike the original template, which generates category order randomly, I have opted for a manual addition/modification approach.

  • Add the desired categories to the categories_order section in the _config.yml file.

  • As of (2024.12.22), the current setup is as follows:

categories_order:
  - "DevHistory"
  - "TechInsight"
  - "Java"
  - "Spring"
  - "SpringBoot"
  - "JPA"
  - "MySQL"
  - "Flyway"
  - "Technology"
  # More categories...

How to Run Locally

  • Follow these steps to set up and run the project on your local machine:

1. Install Bundler

  • Run the following command to install the specified version of Bundler.
$ sudo gem install bundler:2.1.4

2. Install Dependencies and Start the Server

  • Use the following commands to install all dependencies and start the Jekyll server.
$ bundle install
$ bundle exec jekyll serve

3. Expected Output

  • Upon successful execution, you should see output similar to the following
$ bundle exec jekyll serve

Configuration file: /path/to/_config.yml
            Source: /path/to/source
       Destination: /path/to/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
          Conflict: The following destination is shared by multiple files.
                    - /path/to/_site/example.html
                    - /path/to/_posts/example.md
                    ...
      done in X.XXX seconds.
 Auto-regeneration: enabled for '/path/to/project'
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.

4. Access the Local Server

  • Open your browser and navigate to: http://127.0.0.1:4000