<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Kinesis</title><description>Blog</description><link>https://kinesis19.github.io/</link><language>ko</language><item><title>GitHub Pages와 Fuwari로 나만의 기술 블로그 만들기(4)</title><link>https://kinesis19.github.io/posts/how-to-make-gitblog-tutorial-4/</link><guid isPermaLink="true">https://kinesis19.github.io/posts/how-to-make-gitblog-tutorial-4/</guid><description>Fuwari 템플릿을 사용하여 개발한 블로그를 개인 도메인에 연결하는 방법에 대해 다룹니다.</description><pubDate>Tue, 22 Jul 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;작업 환경&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Ubuntu 22.04&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;4단계: 개인 도메인 연결하기&lt;/h1&gt;
&lt;p&gt;이제 개인 도메인을 연결하는 방법에 대해 알아보겠습니다.
&lt;code&gt;spaceship&lt;/code&gt; 업체로부터 도메인을 구입하여 사용하고 있습니다.
&lt;img src=&quot;img1.png&quot; alt=&quot;spaceship domain&quot; /&gt;&lt;/p&gt;
&lt;p&gt;우측에 있는 &lt;code&gt;연결 &lt;/code&gt;버튼을 클릭합니다.&lt;/p&gt;
&lt;p&gt;이후, &lt;code&gt;사용자 정의 DNS 레코드&lt;/code&gt; 항목을 선택하여 추가합니다.
&lt;img src=&quot;img2.png&quot; alt=&quot;DNS Setting&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;레코드 추가&lt;/code&gt; -&amp;gt; &lt;code&gt;CNAME&lt;/code&gt; 을 선택합니다.
호스트는 blog, 값으로는 github pages 주소를 입력합니다.
&lt;img src=&quot;img3.png&quot; alt=&quot;DNS Setting - CNAME&quot; /&gt;&lt;/p&gt;
&lt;p&gt;이후 &lt;code&gt;Github Pages&lt;/code&gt; 에서 &lt;code&gt;Custom domain&lt;/code&gt; 을 수정해주면 정상적으로 반영됩니다.
&lt;img src=&quot;img4.png&quot; alt=&quot;deploy custom domain&quot; /&gt;&lt;/p&gt;
</content:encoded></item><item><title>GitHub Pages와 Fuwari로 나만의 기술 블로그 만들기(3)</title><link>https://kinesis19.github.io/posts/how-to-make-gitblog-tutorial-3/</link><guid isPermaLink="true">https://kinesis19.github.io/posts/how-to-make-gitblog-tutorial-3/</guid><description>Fuwari 템플릿을 사용하여 개발한 블로그를 Github Pages로 배포하는 내용에 대해 다룹니다.</description><pubDate>Tue, 22 Jul 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;작업 환경&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Ubuntu 22.04&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;3단계: Github Pages로 배포하기&lt;/h1&gt;
&lt;h2&gt;3.1. 사이트 구축하기&lt;/h2&gt;
&lt;p&gt;이제 프로덕션 사이트를 구축합니다.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;pnpm build # ./dist/에 프로덕션 사이트 구축
pnpm preview # 배포하기 전, 로컬에서 빌드 미리보기
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;3.2. 사이트 배포하기&lt;/h2&gt;
&lt;p&gt;이후 정상적으로 빌드가 완료되면 origin에 반영해줍니다.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;git add .
git commit -m &quot;:tada: Init: my blog with fuwari template&quot;
git push
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;이후, commit log를 보면 build가 정상적으로 안 된 것을 알 수 있습니다.
&lt;img src=&quot;img1.png&quot; alt=&quot;build failed&quot; /&gt;&lt;/p&gt;
&lt;p&gt;repository &lt;code&gt;Settings&lt;/code&gt; -&amp;gt; &lt;code&gt;Pages&lt;/code&gt; -&amp;gt; &lt;code&gt;Build and deployment&lt;/code&gt; 항목의 &lt;code&gt;Source&lt;/code&gt;를 &lt;code&gt;Github Actions&lt;/code&gt; 로 설정합니다.
&lt;img src=&quot;img2.png&quot; alt=&quot;Github Actions&quot; /&gt;&lt;/p&gt;
&lt;p&gt;설정을 완료하고, &lt;code&gt;Actions&lt;/code&gt; 으로 돌아와서 실패한 build 로그에 진입하여 &lt;code&gt;Re-run jobs&lt;/code&gt; 버튼을 클릭합니다. 이후, &lt;code&gt;deploy.yml&lt;/code&gt; 파일을 수정합니다. 주석을 제거하고, 들여쓰기 등을 수정한 이후에 다시 commit * push를 진행하면 정상적으로 배포가 되는 것을 확인할 수 있습니다.&lt;/p&gt;
&lt;p&gt;:::note
&lt;a href=&quot;https://blog.kashic.dev/posts/how-to-make-gitblog-tutorial-2/#:~:text=%EA%B3%B5%EC%8B%9D%20%EB%AC%B8%EC%84%9C%EC%97%90%EC%A0%80%20%EC%A0%9C%EA%B3%B5%ED%95%98%EB%8A%94%20deploy.yml%20%EC%BD%94%EB%93%9C%EB%A5%BC%20%EB%B3%B5%EC%82%AC%ED%95%98%EC%97%AC%20%EB%B6%99%EC%97%AC%EB%84%A3%EA%B1%B0%EB%82%98%20%ED%95%98%EB%8B%A8%EC%97%90%20%EC%9E%88%EB%8A%94%20%EC%BD%94%EB%93%9C%EB%A5%BC%20%EB%B3%B5%EC%82%AC%ED%95%98%EC%97%AC%20%EB%B6%99%EC%97%AC%20%EB%84%A3%EC%8A%B5%EB%8B%88%EB%8B%A4.%20(%EB%82%98%EC%A4%91%EC%97%90%20Github%20Pages%EC%97%90%EC%84%9C%20build%EB%A5%BC%20%ED%95%98%EA%B2%8C%20%EB%90%98%EB%8A%94%EB%8D%B0%2C%20deploy.yml%EC%9D%98%20format%EC%9D%98%20%EC%9D%B4%EC%8A%88%EB%A1%9C%20%ED%95%98%EB%8B%A8%EA%B3%BC%20%EA%B0%99%EC%9D%B4%20%EC%88%98%EC%A0%95%ED%95%98%EC%98%80%EC%8A%B5%EB%8B%88%EB%8B%A4.)&quot;&gt;2단계 블로그&lt;/a&gt;에서 제공한 yaml 코드를 복사해서 적용했다면 별도로 deploy.yml를 수정하지 않아도 됩니다.
:::&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;name: Deploy to GitHub Pages

on:
  push:
    branches: [ main ]
  workflow_dispatch:

permissions:
  contents: read
  pages: write
  id-token: write

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout your repository using git
        uses: actions/checkout@v4
      - name: Install, build, and upload your site
        uses: withastro/action@v3

  deploy:
    needs: build
    runs-on: ubuntu-latest
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    steps:
      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v4
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;정상적으로 배포가 완료된 것을 확인할 수 있습니다.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;img3.png&quot; alt=&quot;deploy success 1&quot; /&gt;
&lt;img src=&quot;img4.png&quot; alt=&quot;deploy success 2&quot; /&gt;&lt;/p&gt;
</content:encoded></item><item><title>GitHub Pages와 Fuwari로 나만의 기술 블로그 만들기(2)</title><link>https://kinesis19.github.io/posts/how-to-make-gitblog-tutorial-2/</link><guid isPermaLink="true">https://kinesis19.github.io/posts/how-to-make-gitblog-tutorial-2/</guid><description>Fuwari 템플릿을 사용하여 블로그를 커스터마이징 및 콘텐츠를 작성하는 방법에 대해 다룹니다.</description><pubDate>Tue, 22 Jul 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;작업 환경&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Ubuntu 22.04&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;2단계: 블로그 커스터마이징 및 콘텐츠 작성하기&lt;/h1&gt;
&lt;h2&gt;2.1. 블로그 커스터마이징하기&lt;/h2&gt;
&lt;p&gt;가장 먼저 블로그의 이름, 설명, 작성자 정보 등을 수정합니다. 대부분의 설정은 &lt;code&gt;src/config.ts&lt;/code&gt; 파일에서 관리됩니다.&lt;/p&gt;
&lt;p&gt;아래와 같이 정보를 수정합니다.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;export const siteConfig: SiteConfig = {
	title: &quot;Kinesis Akashic&quot;,
	subtitle: &quot;Datadoll Studio&quot;,
	lang: &quot;ko&quot;, // &apos;en&apos;, &apos;zh_CN&apos;, &apos;zh_TW&apos;, &apos;ja&apos;, &apos;ko&apos;, &apos;es&apos;, &apos;th&apos;
	themeColor: {
		hue: 250, // Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345
		fixed: false, // Hide the theme color picker for visitors
	},
	banner: {
		enable: false,
		src: &quot;assets/images/demo-banner.png&quot;, // Relative to the /src directory. Relative to the /public directory if it starts with &apos;/&apos;
		position: &quot;center&quot;, // Equivalent to object-position, only supports &apos;top&apos;, &apos;center&apos;, &apos;bottom&apos;. &apos;center&apos; by default
		credit: {
			enable: false, // Display the credit text of the banner image
			text: &quot;&quot;, // Credit text to be displayed
			url: &quot;&quot;, // (Optional) URL link to the original artwork or artist&apos;s page
		},
	},
	toc: {
		enable: true, // Display the table of contents on the right side of the post
		depth: 2, // Maximum heading depth to show in the table, from 1 to 3
	},
	favicon: [
		// Leave this array empty to use the default favicon
		// {
		//   src: &apos;/favicon/icon.png&apos;,    // Path of the favicon, relative to the /public directory
		//   theme: &apos;light&apos;,              // (Optional) Either &apos;light&apos; or &apos;dark&apos;, set only if you have different favicons for light and dark mode
		//   sizes: &apos;32x32&apos;,              // (Optional) Size of the favicon, set only if you have favicons of different sizes
		// }
	],
};
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;어느정도 수정을 완료하였습니다.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;img1.png&quot; alt=&quot;cusomized blog&quot; /&gt;&lt;/p&gt;
&lt;p&gt;이제 사이트를 정상적으로 배포하기 위한 설정을 진행합니다.
&lt;code&gt;astro.config.mjs&lt;/code&gt; 파일을 다음과 같이 수정합니다.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;site&lt;/code&gt;: 도메인 주소(https://&amp;lt;userid&amp;gt;.github.io)&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;// https://astro.build/config
export default defineConfig({
	site: &quot;https://kinesis19.github.io&quot;,
	base: &quot;/&quot;,
	trailingSlash: &quot;always&quot;,
	integrations: [
		tailwind({
			nesting: true,
		}),
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;이후, &lt;code&gt;.github&lt;/code&gt; -&amp;gt; &lt;code&gt;workflows&lt;/code&gt; 에 진입하여 &lt;code&gt;deploy.yml&lt;/code&gt; 파일을 생성합니다.&lt;/p&gt;
&lt;p&gt;공식문서: &lt;a href=&quot;https://docs.astro.build/en/guides/deploy/github/#configure-a-github-action&quot;&gt;configure-a-github-action&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;공식 문서에저 제공하는 &lt;code&gt;deploy.yml&lt;/code&gt; 코드를 복사하여 붙여넣거나 하단에 있는 코드를 복사하여 붙여 넣습니다. (나중에 Github Pages에서 build를 하게 되는데, deploy.yml의 format의 이슈로 하단과 같이 수정하였습니다.)&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;name: Deploy to GitHub Pages

on:
  push:
    branches: [ main ]
  workflow_dispatch:

permissions:
  contents: read
  pages: write
  id-token: write

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout your repository using git
        uses: actions/checkout@v4
      - name: Install, build, and upload your site
        uses: withastro/action@v3

  deploy:
    needs: build
    runs-on: ubuntu-latest
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    steps:
      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v4
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;2.2. 콘텐츠 작성하기&lt;/h2&gt;
&lt;p&gt;콘텐츠는 마크다운 문법으로 작성할 수 있습니다. Fuwari에서는 마크다운 문법 외에도 다양한 기능을 제공하고 있으니 적절하게 응용하여 콘텐츠 내용을 작성할 수 있습니다.&lt;/p&gt;
&lt;p&gt;콘텐츠 작성 예시: &lt;a href=&quot;https://fuwari.vercel.app/posts/guide/&quot;&gt;Simple Guides for Fuwari&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;작성을 완료하면 다음과 같이 나타납니다.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;img2.png&quot; alt=&quot;kinesis blog home&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;img3.png&quot; alt=&quot;blog content&quot; /&gt;&lt;/p&gt;
</content:encoded></item><item><title>GitHub Pages와 Fuwari로 나만의 기술 블로그 만들기(1)</title><link>https://kinesis19.github.io/posts/how-to-make-gitblog-tutorial-1/</link><guid isPermaLink="true">https://kinesis19.github.io/posts/how-to-make-gitblog-tutorial-1/</guid><description>Fuwari 템플릿을 사용하여 블로그를 만들고 로컬 서버에서 실행하는 내용에 대해 다룹니다.</description><pubDate>Tue, 22 Jul 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;작업 환경&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Ubuntu 22.04&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;1단계: 개발 환경 준비 및 Fuwari 템플릿 설치&lt;/h1&gt;
&lt;h2&gt;1.1. 프로그램 설치&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Git: 소스 코드를 관리하고 Github와 연동하기 위한 필수 프로그램입니다.&lt;/li&gt;
&lt;li&gt;Node.js: Astro 프로젝트를 실행하기 위한 JavaScript 런타임환경입니다. LTS(Long-Term-Support) 버전을 설치합니다.
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://nodejs.org/ko/download&quot;&gt;Node.js 공식 홈페이지&lt;/a&gt;에서 LTS 버전을 다운로드하여 설치합니다. (2025년 7월 14일 기준 v20 이상의 버전을 사용해야 합니다.)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;pnpm: Fuwari 템플릿을 사용하기 위해 필요한 패키지 관리자입니다.
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://pnpm.io/ko/installation&quot;&gt;pnpm 공식 홈페이지&lt;/a&gt;에서 자신의 운영체제에 맞는 버전을 다운로드하여 설치합니다.
(2025년 7월 14일 기준 v9 이상의 버전을 사용해야 합니다.)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;설치 확인은 terminator에서 다음 명령어를 입력하여 버전 정보가 나오는지 확인합니다.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;git --version
node --version
npm --version
pnpm --version
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;img src=&quot;img1.png&quot; alt=&quot;terminator image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;이후 &lt;a href=&quot;https://github.com/saicaca/fuwari/blob/main/README.md&quot;&gt;Fuwari 공식 README.md&lt;/a&gt;에서 명시된 버전을 준수하였는지 확인합니다.
&lt;img src=&quot;img2.png&quot; alt=&quot;fuwari readme image&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;1.2. Fuwari 템플릿 fork &amp;amp; run&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/saicaca/fuwari&quot;&gt;Fuwari 공식 repository&lt;/a&gt;에서 우측 상단에 있는 &lt;code&gt;Fork&lt;/code&gt; 버튼을 클릭합니다.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;Repository name&lt;/code&gt;: 생성할 repository(저장소)의 이름입니다. Github에서 Github Pages 기능을 제공하기에 &lt;code&gt;&amp;lt;username&amp;gt;.github.io&lt;/code&gt; 형식으로 설정하는 것을 추천합니다.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;Description&lt;/code&gt;: repository의 설명을 작성합니다.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;모든 설정을 완료했다면, 좌측 하단에 있는 &lt;code&gt;Create fork&lt;/code&gt; 버튼을 클릭합니다.
&lt;img src=&quot;img3.png&quot; alt=&quot;repository fork image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;fork한 repository에서 &lt;code&gt;Code&lt;/code&gt; 버튼을 클릭하고, 현재 repository의 Web URL을 복사합니다.
&lt;img src=&quot;img4.png&quot; alt=&quot;repository clone image&quot; /&gt;
복사한 URL은 다음과 같은 형식으로 구성되어 있습니다.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;https://github.com/kinesis19/kinesis19.github.io.git
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Terminator을 실행하고, fork한 repository를 clone하고, 해당 경로로 진입합니다.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;git clone https://github.com/kinesis19/kinesis19.github.io.git # clone
cd kinesis19.github.io # 경로 진입
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;이후, 블로그 개발에 필요한 라이브러리(패키지)들을 설치합니다.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;pnpm install
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;img src=&quot;img5.png&quot; alt=&quot;pnpm install&quot; /&gt;&lt;/p&gt;
&lt;p&gt;로컬 개발 서버를 시작합니다.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;pnpm dev
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;img src=&quot;img6.png&quot; alt=&quot;pnpm dev&quot; /&gt;&lt;/p&gt;
&lt;p&gt;화면에 나타난 Local address를 &lt;code&gt;Ctrl + Left Click&lt;/code&gt; 혹은 인터넷 브라우저에 입력하여 진입합니다.&lt;/p&gt;
&lt;p&gt;정상적으로 개발 환경이 구축된 것을 알 수 있습니다.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;img7.png&quot; alt=&quot;local address&quot; /&gt;&lt;/p&gt;
</content:encoded></item><item><title>GitHub Pages와 Fuwari로 나만의 기술 블로그 만들기(5)</title><link>https://kinesis19.github.io/posts/how-to-make-gitblog-tutorial-5/</link><guid isPermaLink="true">https://kinesis19.github.io/posts/how-to-make-gitblog-tutorial-5/</guid><description>Fuwari 템플릿을 사용하여 개발한 블로그에 Giscus를 추가하여 댓글을 작성하는 방법에 대해 다룹니다.</description><pubDate>Tue, 22 Jul 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;작업 환경&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Ubuntu 22.04&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;5단계: 댓글 기능 추가하기&lt;/h1&gt;
&lt;p&gt;다양한 서드파티 중에 &lt;a href=&quot;https://giscus.app/ko&quot;&gt;Giscus&lt;/a&gt;를 사용해서 댓글 기능을 추가하겠습니다.&lt;/p&gt;
&lt;h2&gt;5.1. Giscus 서드파티 추가하기&lt;/h2&gt;
&lt;p&gt;먼저 Giscus를 추가하기 위한 조건을 확인합니다.
&lt;img src=&quot;img1.png&quot; alt=&quot;giscus condition&quot; /&gt;&lt;/p&gt;
&lt;p&gt;1번째 조건은 이미 충족 되었으니, 2번째 조건인 Giscus를 설치합니다.
&lt;a href=&quot;https://github.com/apps/giscus&quot;&gt;Giscus 설치하기&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Install&lt;/code&gt; 버튼을 클릭합니다.
&lt;img src=&quot;img2.png&quot; alt=&quot;giscus install page&quot; /&gt;&lt;/p&gt;
&lt;p&gt;이후, &lt;code&gt;Only select repositories&lt;/code&gt;를 선택하고, blog로 사용하고 있는 repository를 할당합니다.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;img3.png&quot; alt=&quot;select repository&quot; /&gt;&lt;/p&gt;
&lt;p&gt;정상적으로 추가된 것을 알 수 있습니다.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;img4.png&quot; alt=&quot;success&quot; /&gt;&lt;/p&gt;
&lt;p&gt;이후 repository의 settings에 들어가서 &lt;code&gt;Discussions&lt;/code&gt; -&amp;gt; &lt;code&gt;Set up discussions&lt;/code&gt;를 클릭합니다.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;img5.png&quot; alt=&quot;set up discussions&quot; /&gt;&lt;/p&gt;
&lt;p&gt;우측 하단에 있는 &lt;code&gt;Start discussion&lt;/code&gt; 버튼을 클릭하고, &lt;code&gt;Start discussion&lt;/code&gt; 버튼을 클릭해서 설정해 주면 됩니다.&lt;/p&gt;
&lt;p&gt;다시 &lt;a href=&quot;https://giscus.app/ko&quot;&gt;Giscus 설정 페이지&lt;/a&gt;로 돌아와서 저장소 주소를 할당합니다.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;img6.png&quot; alt=&quot;add address in Giscus setting page&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;5.2. 블로그에 Giscus 추가하기&lt;/h2&gt;
&lt;p&gt;그대로 사용해도 되고, 취향껏 커스터마이징을 진행합니다. 하단에 생성된 Giscus 관련 &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; 관련 코드를 복사합니다.&lt;/p&gt;
&lt;p&gt;그 다음에 repository의 &lt;code&gt;src/components/&lt;/code&gt; 경로에서 &lt;code&gt;Giscus.astro&lt;/code&gt; 파일을 하나 추가합니다. 이후, Giscus 페이지에서 복사한 &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; 코드를 다음과 같이 붙여 넣습니다.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;---
// src/components/Giscus.astro
---
&amp;lt;div class=&quot;giscus-container&quot;&amp;gt;
    &amp;lt;script src=&quot;https://giscus.app/client.js&quot;
        data-repo=&quot;kinesis19/kinesis19.github.io&quot;
        data-repo-id=&quot;R_kgDOPMN3mw&quot;
        data-category=&quot;General&quot;
        data-category-id=&quot;DIC_kwDOPMN3m84CtQ1D&quot;
        data-mapping=&quot;pathname&quot;
        data-strict=&quot;0&quot;
        data-reactions-enabled=&quot;1&quot;
        data-emit-metadata=&quot;0&quot;
        data-input-position=&quot;bottom&quot;
        data-theme=&quot;preferred_color_scheme&quot;
        data-lang=&quot;ko&quot;
        crossorigin=&quot;anonymous&quot;
        async
    &amp;gt;
    &amp;lt;/script&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;이후 &lt;code&gt;pages/posts/&lt;/code&gt; 경로에 있는 &lt;code&gt;[...slug].astro&lt;/code&gt; 파일의 코드를 수정합니다.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;import문 추가&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;---
// pages/posts/[...slug].astro
---
import path from &quot;node:path&quot;;
import License from &quot;@components/misc/License.astro&quot;;
import Markdown from &quot;@components/misc/Markdown.astro&quot;;
import I18nKey from &quot;@i18n/i18nKey&quot;;
import { i18n } from &quot;@i18n/translation&quot;;
import MainGridLayout from &quot;@layouts/MainGridLayout.astro&quot;;
import { getSortedPosts } from &quot;@utils/content-utils&quot;;
import { getDir, getPostUrlBySlug } from &quot;@utils/url-utils&quot;;
import { Icon } from &quot;astro-icon/components&quot;;
import { licenseConfig } from &quot;src/config&quot;;
// 아래와 같이 Giscus import
import Giscus from &quot;../../components/Giscus.astro&quot;;
import ImageWrapper from &quot;../../components/misc/ImageWrapper.astro&quot;;
import PostMetadata from &quot;../../components/PostMeta.astro&quot;;
import { profileConfig, siteConfig } from &quot;../../config&quot;;
import { formatDateToYYYYMMDD } from &quot;../../utils/date-utils&quot;;
&lt;/code&gt;&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;Giscus 태그 추가&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;            &amp;lt;Markdown class=&quot;mb-6 markdown-content onload-animation&quot;&amp;gt;
                &amp;lt;Content /&amp;gt;
            &amp;lt;/Markdown&amp;gt;

            {licenseConfig.enable &amp;amp;&amp;amp; &amp;lt;License title={entry.data.title} slug={entry.slug} pubDate={entry.data.published} class=&quot;mb-6 rounded-xl license-container onload-animation&quot;&amp;gt;&amp;lt;/License&amp;gt;}
            &amp;lt;!-- Add Giscus --&amp;gt;
            &amp;lt;Giscus /&amp;gt;

        &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;수정한 내용을 저장하고 local 서버를 실행하면, 정상적으로 반영된 것을 알 수 있습니다.
&lt;img src=&quot;img7.png&quot; alt=&quot;Giscuss test&quot; /&gt;&lt;/p&gt;
&lt;h1&gt;Trouble Shooting&lt;/h1&gt;
&lt;h2&gt;T1. Run Biome issue&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;Run biome ci ./src --reporter=github
  biome ci ./src --reporter=github
  shell: /usr/bin/bash -e {0}
Error: The imports and exports are not sorted.
ci ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  × Some errors were emitted while running checks.
  

Error: File content differs from formatting output
Error: Process completed with exit code 1.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;위와 같이 Run biome 관련해서 build 실패가 확인되면 다음 명령어를 통해 해결하고, 다시 push하면 정상적으로 build 됩니다.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;pnpm run lint
&lt;/code&gt;&lt;/pre&gt;
</content:encoded></item></channel></rss>