Merged
Conversation
README.mdにRaspberry Pi (3/4/5, Zero W)へのデプロイ手順を追加し、 GitHub Actionsでビルド済みJARファイルを生成・配布できるようにしました。 変更内容: - README.mdにRaspberry Piデプロイセクションを追加 - 対応ハードウェアとシステム要件 - Java 21インストール手順 - デプロイ方法(ビルド済みバイナリ/ソースビルド) - Systemdサービス設定(自動起動) - トラブルシューティングガイド - パフォーマンスチューニング設定 - GitHub Actionsワークフロー(release-build.yml)を追加 - 手動実行およびタグプッシュ時の自動ビルド - bootJarでJARファイルを生成 - GitHub Artifactsとして90日間保持 - タグプッシュ時にGitHub Releaseを自動作成 - リリース情報ファイルの自動生成 これにより、教育機関が低コストでKidsPOSを展開できるようになります。
Contributor
🎨 Visual Regression Test Results✅ All visual regression tests passed! All page screenshots match the expected baselines. 📊 Test Coverage
|
設定画面にレシートのテスト印刷機能を実装し、実際にRaspberry Pi Zero Wに
デプロイした手順を詳細にドキュメント化しました。
変更内容:
- レシートテスト印刷機能の実装
- 設定画面に店舗選択とテスト印刷ボタンを追加
- 店舗が未登録の場合は警告メッセージを表示
- POST /api/setting/printer/{storeId}/test エンドポイント追加
- サンプルレシート(テスト商品3点)を生成して印刷
- Raspberry Pi実デプロイドキュメント作成
- docs/raspberry-pi-deployment.md を追加
- Raspberry Pi Zero Wへの実際のデプロイ手順を記録
- Java 21インストール、Systemdサービス設定、自動起動設定
- パフォーマンス情報(起動時間約6分)
- 運用管理コマンド、トラブルシューティング
技術詳細:
- テスト印刷は選択された店舗のプリンタ設定を使用
- 店舗未登録時はボタンを無効化(UX改善)
- Raspberry Pi Zero W環境で動作検証済み
bootJarで生成されるJARファイル名が server-*.jar なので、 ワークフローのファイル検索パターンを修正しました。
Contributor
🎨 Visual Regression Test Results✅ All visual regression tests passed! All page screenshots match the expected baselines. 📊 Test Coverage
|
1 similar comment
Contributor
🎨 Visual Regression Test Results✅ All visual regression tests passed! All page screenshots match the expected baselines. 📊 Test Coverage
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
Raspberry Pi (3/4/5, Zero W) へのデプロイを可能にし、GitHub Actionsで自動的にビルド済みJARファイルを生成・配布できるようにしました。さらに、設定画面にレシートのテスト印刷機能を追加し、実際にRaspberry Pi Zero Wにデプロイして動作検証を完了しました。
変更内容
1. README.md にRaspberry Piデプロイセクションを追加
2. GitHub Actionsワークフロー追加 (
.github/workflows/release-build.yml)v*タグをプッシュすると自動的にGitHub Releaseを作成release-info.txtを自動生成3. レシートテスト印刷機能の実装
API層 (
SettingApiController.kt)POST /api/setting/printer/{storeId}/testエンドポイントを追加サービス層 (
SettingService.kt)testPrintReceipt(storeId)メソッドを実装UI改善 (
settings/index.html)4. Raspberry Pi実デプロイドキュメント (
docs/raspberry-pi-deployment.md)実際にRaspberry Pi Zero Wにデプロイした詳細な手順を記録:
実証済みの動作環境
✅ Raspberry Pi Zero W で動作検証完了
利点
テスト計画
スクリーンショット
なし
関連Issue
なし