Skip to content

Commit 746a470

Browse files
authored
Merge pull request #109 from cniajp/claude/update-readme-7n0d0
Claude/update readme 7n0d0
2 parents cf40b42 + 3f04667 commit 746a470

File tree

2 files changed

+111
-22
lines changed

2 files changed

+111
-22
lines changed

CONTRIBUTING.md

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# 開発ガイド
2+
3+
このドキュメントは開発者向けの情報をまとめています。
4+
5+
## セットアップ
6+
7+
### 必要要件
8+
9+
- Node.js 18以上
10+
- npm
11+
12+
### インストール
13+
14+
```bash
15+
npm install
16+
```
17+
18+
### 開発サーバーの起動
19+
20+
```bash
21+
npm run dev
22+
```
23+
24+
[http://localhost:3000](http://localhost:3000) をブラウザで開いてください。
25+
26+
## 環境変数
27+
28+
`.env.development` または `.env.production` で以下を設定します:
29+
30+
| 変数名 | 説明 |
31+
|--------|------|
32+
| `NEXT_PUBLIC_API_BASE_URL` | DreamkastのAPIエンドポイント |
33+
| `NEXT_PUBLIC_EVENT_ABBR` | 静的データ用イベント略称 |
34+
| `NEXT_PUBLIC_DK_EVENT_ABBR` | Dreamkast用イベント略称 |
35+
| `NEXT_PUBLIC_TRANS_TIME_PAGE1` | Page1の表示時間(秒) |
36+
| `NEXT_PUBLIC_TRANS_TIME_PAGE2` | Page2の表示時間(秒) |
37+
| `NEXT_PUBLIC_TRANS_TIME_PAGE3` | Page3の表示時間(秒) |
38+
| `NEXT_PUBLIC_DEBUG` | デバッグモード('true' で有効) |
39+
| `NEXT_PUBLIC_EXCLUDED_TALKS` | 除外するトークID(カンマ区切り) |
40+
41+
## ルーティング構造
42+
43+
```
44+
/ # トップページ(メニュー選択)
45+
├── /break-dk/menu/[confDay] # Dreamkast版メニュー(Day 0, 1, 2...)
46+
├── /break-dk/talks/[talkId] # Dreamkast版インターミッション表示
47+
├── /break-dk/obs # Dreamkast版OBS用ページ
48+
├── /break/menu/[confDay] # 静的データ版メニュー
49+
├── /break/talks/[talkId] # 静的データ版インターミッション表示
50+
└── /break/obs # 静的データ版OBS用ページ
51+
```
52+
53+
### データソース
54+
55+
このプロジェクトは2つのデータソースに対応しています:
56+
57+
1. **Dreamkast API連携** (`/break-dk/*`) - CloudNativeDaysのイベント管理システムからリアルタイムでデータ取得
58+
2. **静的TSファイル** (`/break/*`) - ローカルのTSファイルからデータ取得
59+
60+
## API型定義の自動生成
61+
62+
```bash
63+
npm run rtk-query-codegen
64+
```
65+
66+
## ビルド
67+
68+
```bash
69+
npm run build # プロダクションビルド
70+
npm run start # プロダクションサーバー起動
71+
```
72+
73+
## イベントごとのアセット
74+
75+
`public/` ディレクトリ配下にイベントごとのフォルダがあります:
76+
77+
```
78+
public/
79+
├── cnds2024/ # CloudNativeDays 2024
80+
├── cnds2025/ # CloudNativeDays 2025
81+
├── o11yconjp2025/ # Observability Conference Japan 2025
82+
├── pek2025/ # Platform Engineering Kaigi 2025
83+
└── cndw2024/ # CloudNative Days Winter 2024
84+
```
85+
86+
各イベントフォルダには背景画像、BGMなどのアセットを配置します。

README.md

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,37 @@
1-
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
1+
# EMTEC Intermission
22

3-
## Getting Started
3+
CloudNativeDaysなどの技術カンファレンスで使用されるインターミッション(休憩時間の案内)画面を生成・表示するWebアプリケーションです。
44

5-
First, run the development server:
5+
## 概要
66

7-
```bash
8-
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
13-
```
7+
- セッション間の休憩時に次のセッション情報を表示
8+
- BGMとアニメーションで視覚的に魅力的なインターミッションを提供
9+
- OBS(配信ソフト)に組み込んで使用
1410

15-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
11+
## 技術スタック
1612

17-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
13+
- **Next.js 15** (App Router + Pages Router併用)
14+
- **React 19**
15+
- **TypeScript**
16+
- **PixiJS** - 2Dアニメーション
17+
- **Redux Toolkit (RTK Query)** - API状態管理
18+
- **Tailwind CSS**
19+
- **Video.js** - 動画再生
20+
- **next-pwa** - PWA対応
1821

19-
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
22+
## 使い方
2023

21-
## Learn More
24+
1. トップページ(`/`)にアクセス
25+
2. データソース(Dreamkast版 or 静的データ版)を選択
26+
3. Day(Day 0, 1, 2...)を選択
27+
4. 表示したいセッションを選択
2228

23-
To learn more about Next.js, take a look at the following resources:
29+
メニューからOBS連携を選択すると、OBSにインポートできるシーンコレクションのJSONファイルをダウンロードできます。
2430

25-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
26-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
31+
## 開発
2732

28-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
33+
開発者向けの詳細情報は [CONTRIBUTING.md](./CONTRIBUTING.md) を参照してください。
2934

30-
## Deploy on Vercel
35+
## ライセンス
3136

32-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
33-
34-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
37+
このプロジェクトはEMTECによって管理されています。

0 commit comments

Comments
 (0)