diff --git a/README.es.md b/README.es.md index 0be9d6cd..0b2e2521 100644 --- a/README.es.md +++ b/README.es.md @@ -20,7 +20,37 @@ Un tema estático para blogs construido con [Astro](https://astro.build). - [x] Buscador - [x] TOC (Tabla de Contenidos) -## 🚀 Cómo Usar +## 👀 requiere + +- Node.js <= 22 +- pnpm <= 9 + +## 🚀 Cómo Usar 1 + +Inicializa el proyecto localmente usando [create-fuwari](https://github.com/L4Ph/create-fuwari). + +```sh +# npm +npm create fuwari@latest. + +# yarn +yarn create fuwari. + +# pnpm +pnpm create fuwari@latest + +# bun +bun create fuwari@latest + +# deno +deno run -A npm:create-fuwari@latest +``` + +1. Edita el archivo de configuración `src/config.ts` para personalizar tu blog. +2. Ejecuta `pnpm new-post ` para crear una nueva entrada y edítala en `src/content/posts/`. +3. Despliega tu blog en Vercel, Netlify, GitHub Pages, etc., siguiendo [las guías](https://docs.astro.build/en/guides/deploy/). Necesitas editar la configuración del sitio en `astro.config.mjs` antes del despliegue. + +## 🚀 Cómo Usar 2 1. [Genera un nuevo repositorio](https://github.com/saicaca/fuwari/generate) desde esta plantilla o haz un fork de este repositorio. 2. Para editar tu blog localmente, clona tu repositorio, ejecuta `pnpm install` y `pnpm add sharp` para instalar las dependencias. diff --git a/README.ja-JP.md b/README.ja-JP.md index 2c4252f8..9d090d9e 100644 --- a/README.ja-JP.md +++ b/README.ja-JP.md @@ -20,7 +20,37 @@ - [x] 検索機能 - [x] 目次 -## 🚀 使用方法 +## 👀 以下が必要 + +- Node.js <= 22 +- pnpm <= 9 + +## 🚀 使用方法 1 + +[create-fuwari](https://github.com/L4Ph/create-fuwari)を使用して、ローカルにプロジェクトを初期化します。 + +```sh +# npm +npm create fuwari@latest + +# yarn +yarn create fuwari + +# pnpm +pnpm create fuwari@latest + +# bun +bun create fuwari@latest + +# deno +deno run -A npm:create-fuwari@latest +``` + +1. `src/config.ts` ファイルを編集する事でブログを自分好みにカスタマイズ出来ます。 +2. `pnpm new-post ` で新しい記事を作成し、`src/content/posts/`.フォルダ内で編集します。 +3. 作成したブログをVercel、Netlify、GitHub Pagesなどにデプロイするには[ガイド](https://docs.astro.build/ja/guides/deploy/)に従って下さい。加えて、別途デプロイを行う前に `astro.config.mjs` を編集してサイト構成を変更する必要があります。 + +## 🚀 使用方法 2 1. [テンプレート](https://github.com/saicaca/fuwari/generate)から新しいリポジトリを作成するかCloneをします。 2. ブログをローカルで編集するには、リポジトリをクローンした後、`pnpm install` と `pnpm add sharp` を実行して依存関係をインストールします。 diff --git a/README.ko.md b/README.ko.md index 1255b3cd..0ac0a45e 100644 --- a/README.ko.md +++ b/README.ko.md @@ -3,7 +3,12 @@ [Astro](https://astro.build)로 구축된 정적 블로그 템플릿입니다. [**🖥️미리보기 (Vercel)**](https://fuwari.vercel.app)   /    -[**📦Old Hexo Version**](https://github.com/saicaca/hexo-theme-vivia) +[**📦Old Hexo Version**](https://github.com/saicaca/hexo-theme-vivia)   /    +[**🌏 English**](https://github.com/saicaca/fuwari/blob/main/README.md)   /    +[**🌏 中文**](https://github.com/saicaca/fuwari/blob/main/README.zh-CN.md)   /    +[**🌏 日本語**](https://github.com/saicaca/fuwari/blob/main/README.ja-JP.md)   /    +[**🌏 Español**](https://github.com/saicaca/fuwari/blob/main/README.es.md)   /    +[**🌏 ไทย**](https://github.com/saicaca/fuwari/blob/main/README.th.md) > README 버전: `2025-04-24` @@ -19,6 +24,37 @@ - [ ] 댓글 - [x] 검색 - [x] 목차 + +## 요구 사항 + +- Node.js <= 22 +- pnpm <= 9 + +## 🚀 사용하는 방법 1 + +[create-fuwari](https://github.com/L4Ph/create-fuwari)를 사용하여 로컬에서 프로젝트를 초기화합니다. + +```sh +# npm +npm create fuwari@latest + +# yarn +yarn create fuwari + +# pnpm +pnpm create fuwari@latest + +# bun +bun create fuwari@latest + +# deno +deno run -A npm:create-fuwari@latest +``` + +1. 블로그를 사용자 정의하려면 `src/config.ts` 구성 파일을 편집하세요. +2. `pnpm new-post `을 실행하여 새 게시물을 만들고 `src/content/posts/`에서 편집하세요. +3. [가이드](https://docs.astro.build/en/guides/deploy/)에 따라 블로그를 Vercel, Netlify, GitHub 페이지 등에 배포하세요. 배포하기 전에 `astro.config.mjs`에서 사이트 구성을 편집해야 합니다. + ## 🚀 사용하는 방법 1. 이 템플릿에서 [새 저장소를 생성](https://github.com/saicaca/fuwari/generate)하거나 이 저장소를 포크하세요. @@ -39,6 +75,7 @@ image: /images/cover.jpg tags: [푸, 바, 오] category: 앞-끝 draft: false +lang: jp # 게시물의 언어가 `config.ts`의 사이트 언어와 다른 경우에만 설정합니다. --- ``` diff --git a/README.md b/README.md index f56fbea2..b598c855 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,36 @@ A static blog template built with [Astro](https://astro.build). - [x] Search - [x] TOC +## require + +- Node.js <= 22 +- pnpm <= 9 + +## 🚀 How to Use 1 + +Initialize the project locally using [create-fuwari](https://github.com/L4Ph/create-fuwari). + +```sh +# npm +npm create fuwari@latest + +# yarn +yarn create fuwari + +# pnpm +pnpm create fuwari@latest + +# bun +bun create fuwari@latest + +# deno +deno run -A npm:create-fuwari@latest +``` + +1. Edit the config file `src/config.ts` to customize your blog. +2. Run `pnpm new-post ` to create a new post and edit it in `src/content/posts/`. +3. Deploy your blog to Vercel, Netlify, GitHub Pages, etc. following [the guides](https://docs.astro.build/en/guides/deploy/). You need to edit the site configuration in `astro.config.mjs` before deployment. + ## 🚀 How to Use 1. [Generate a new repository](https://github.com/saicaca/fuwari/generate) from this template or fork this repository. diff --git a/README.th.md b/README.th.md index 39e0cdf7..3039271b 100644 --- a/README.th.md +++ b/README.th.md @@ -20,7 +20,38 @@ - [x] การค้นหา - [x] TOC (สารบัญ) -## 🚀 วิธีใช้งาน + +## จำเป็นต้อง + +- Node.js <= 22 +- pnpm <= 9 + +## 🚀 วิธีใช้งาน 1 + +เริ่มต้นโปรเจ็กต์ในเครื่องโดยใช้ [create-fuwari](https://github.com/L4Ph/create-fuwari) + +```sh +# npm +npm create fuwari@latest + +# yarn +yarn create fuwari + +# pnpm +pnpm create fuwari@latest + +# bun +bun create fuwari@latest + +# deno +deno run -A npm:create-fuwari@latest +``` + +1. แก้ไขไฟล์การตั้งค่า `src/config.ts` เพื่อปรับแต่งบล็อกของคุณ +2. รันคำสั่ง `pnpm new-post ` เพื่อสร้างโพสต์ใหม่ใน `src/content/posts/` และแก้ไขไฟล์โพสต์นั้นๆ ให้สมบูรณ์ +3. Deploy เว็บบล็อกของคุณไปยัง Vercel, Netlify, GitHub Pages หรือบริการอื่นๆ โดยอ้างอิงวิธีการจาก[คู่มือนี้](https://docs.astro.build/en/guides/deploy/) อย่าลืมแก้ไขการตั้งค่าเว็บไซต์ในไฟล์ `astro.config.mjs` ก่อนที่คุณจะ deploy เว็บ + +## 🚀 วิธีใช้งาน 2 1. [Generate repository ใหม่](https://github.com/saicaca/fuwari/generate)ขึ้นมาจากแม่แบบนี้ หรือจะ fork repository นี้ก็ได้ 2. เริ่มแก้ไขบล็อกของคุณแบบ local โดยการ clone repository ของคุณ (จากข้อ 1) ไว้ในเครื่องของคุณ แล้วรันคำสั่ง `pnpm install` และ `pnpm add sharp` เพื่อติดตั้ง dependencies ที่จำเป็น diff --git a/README.zh-CN.md b/README.zh-CN.md index 651ffcb3..0b852b25 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -20,7 +20,37 @@ - [x] 搜索 - [x] 文内目录 -## 🚀 使用方法 +## 👀 要求 + +- Node.js <= 22 +- pnpm <= 9 + +## 🚀 使用方法 1 + +使用 [create-fuwari](https://github.com/L4Ph/create-fuwari) 在本地初始化项目。 + +```sh +# npm +npm create fuwari@latest + +# yarn +yarn create fuwari + +# pnpm +pnpm create fuwari@latest + +# bun +bun create fuwari@latest + +# deno +deno run -A npm:create-fuwari@latest +``` + +1. 通过配置文件 `src/config.ts` 自定义博客 +2. 执行 `pnpm new-post ` 创建新文章,并在 `src/content/posts/` 目录中编辑 +3. 参考[官方指南](https://docs.astro.build/zh-cn/guides/deploy/)将博客部署至 Vercel, Netlify, GitHub Pages 等;部署前需编辑 `astro.config.mjs` 中的站点设置。 + +## 🚀 使用方法 2 1. 使用此模板[生成新仓库](https://github.com/saicaca/fuwari/generate)或 Fork 此仓库 2. 进行本地开发,Clone 新的仓库,执行 `pnpm install` 和 `pnpm add sharp` 以安装依赖