Skip to content

Commit cb12494

Browse files
committed
Docs: Translate README to Japanese and add article instructions
1 parent 6a2dd07 commit cb12494

File tree

1 file changed

+43
-23
lines changed

1 file changed

+43
-23
lines changed

README.md

Lines changed: 43 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,67 @@
1-
# Indie Dev Zero Portfolio
1+
# Indie Dev Zero ポートフォリオ
22

3-
This is a portfolio website built with React, Vite, and Tailwind CSS.
3+
React, Vite, Tailwind CSS で構築されたポートフォリオサイトです。
44

5-
## Getting Started
5+
## 始め方
66

7-
### Prerequisites
8-
- Node.js (v18 or later recommended)
7+
### 前提条件
8+
- Node.js (v18 以降を推奨)
99

10-
### Installation
11-
1. Clone the repository:
10+
### インストール
11+
1. リポジトリをクローンします:
1212
```bash
1313
git clone https://github.com/unchunks/unchunks.github.io.git
1414
cd unchunks.github.io
1515
```
16-
2. Install dependencies:
16+
2. 依存関係をインストールします:
1717
```bash
1818
npm install
1919
```
2020

21-
### Development
22-
Start the local development server:
21+
### 開発(ローカル実行)
22+
ローカル開発サーバーを起動します:
2323
```bash
2424
npm run dev
2525
```
26-
Open [http://localhost:5173](http://localhost:5173) in your browser.
26+
ブラウザで [http://localhost:5173](http://localhost:5173) を開いて確認できます。
2727

28-
### Building
29-
Build the project for production:
28+
### ビルド
29+
本番用にプロジェクトをビルドします:
3030
```bash
3131
npm run build
3232
```
33-
The output will be in the `dist` directory.
33+
出力ファイルは `dist` ディレクトリに生成されます。
3434

35-
## Customization
35+
## カスタマイズ
3636

37-
You can easily update the site content by editing `src/data.js`.
38-
- **Profile**: Name, role, bio, social links.
39-
- **Projects**: Add or remove projects.
40-
- **Posts**: Add new blog posts.
37+
`src/data.js` を編集するだけで、サイトのコンテンツを簡単に更新できます。
38+
- **Profile**: 名前、役職、自己紹介、SNSリンク
39+
- **Projects**: プロジェクトの追加・削除
40+
- **Posts**: 新しいブログ記事の追加
4141

42-
## Deployment
42+
### 新しい記事の追加方法
4343

44-
This project is configured to automatically deploy to GitHub Pages using GitHub Actions.
45-
Any push to the `main` branch will trigger a deployment.
44+
1. `src/data.js` を開きます。
45+
2. `posts` 配列を見つけます。
46+
3. 以下のような形式で、新しい記事データを追加してください(IDは他と被らないユニークな数字にしてください)。
4647

47-
Ensure your repository settings are configured to serve from the `gh-pages` branch (or whichever branch the action deploys to, usually `gh-pages` created by the action).
48+
```javascript
49+
{
50+
id: 104, // 新しいID
51+
title: "新しい記事のタイトル",
52+
date: "2023-12-01",
53+
category: "DevLog",
54+
content: "ここに記事の本文を書きます..."
55+
}
56+
```
57+
58+
保存すると、サイトに自動的に反映されます。
59+
60+
## デプロイ(公開)
61+
62+
このプロジェクトは、GitHub Actions を使用して GitHub Pages に自動デプロイされるように設定されています。
63+
`main` ブランチにプッシュすると、自動的にデプロイ処理が開始されます。
64+
65+
### 注意点
66+
GitHub Pages の設定で、デプロイ元(Source)が **"GitHub Actions"** になっていることを確認してください。
67+
(設定 > Pages > Build and deployment > Source)

0 commit comments

Comments
 (0)