{"id":35495359,"url":"https://github.com/cloudnativedaysjp/dreamkast","last_synced_at":"2026-04-02T00:44:39.881Z","repository":{"id":36951369,"uuid":"272451582","full_name":"cloudnativedaysjp/dreamkast","owner":"cloudnativedaysjp","description":"dreamkast is Online Conference Platform !!!!!!","archived":false,"fork":false,"pushed_at":"2026-03-27T00:50:00.000Z","size":32307,"stargazers_count":31,"open_issues_count":21,"forks_count":8,"subscribers_count":11,"default_branch":"main","last_synced_at":"2026-03-27T03:28:46.678Z","etag":null,"topics":["rails","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudnativedaysjp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-06-15T13:51:12.000Z","updated_at":"2026-03-23T05:10:56.000Z","dependencies_parsed_at":"2023-11-05T09:23:46.208Z","dependency_job_id":"141f5f5e-1abc-4bcb-b886-ac8fec2ac9b7","html_url":"https://github.com/cloudnativedaysjp/dreamkast","commit_stats":null,"previous_names":[],"tags_count":345,"template":false,"template_full_name":null,"purl":"pkg:github/cloudnativedaysjp/dreamkast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnativedaysjp%2Fdreamkast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnativedaysjp%2Fdreamkast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnativedaysjp%2Fdreamkast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnativedaysjp%2Fdreamkast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudnativedaysjp","download_url":"https://codeload.github.com/cloudnativedaysjp/dreamkast/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnativedaysjp%2Fdreamkast/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rails","ruby"],"created_at":"2026-01-03T17:11:50.662Z","updated_at":"2026-04-02T00:44:39.864Z","avatar_url":"https://github.com/cloudnativedaysjp.png","language":"Ruby","readme":"# dreamkast\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"docs/images/dreamkast.png\" width=\"300\"\u003e\n\u003c/div\u003e\n\nRuby on Railsで構築されたオンラインカンファレンスシステム\n\n## Dreamkastプラットフォームについて\n\n詳細は[Notion](https://www.notion.so/cloudnativedays/Dreamkast-Team-bc787244afdc45b880c014bd61891aa8)を参照してください（メンバー限定）\n\n## 前提条件\n\n- OS: macOS, Linux, Windows\n- **Docker**\n\n## 開発環境のセットアップ\n\n**devbox**を使用すると、チーム全体で統一された開発環境を簡単にセットアップできます。\n\n### devboxの利点\n\n- **統一された開発環境**: チーム全体で同じバージョンのツールを使用\n- **簡単なセットアップ**: rbenv/nodenvの手動インストールが不要\n- **再現性の保証**: devbox.lockでバージョンを固定\n- **AWS認証情報の自動取得**: Secrets Managerから認証情報を自動で取得\n- **セキュアなシークレット管理**: 認証情報はファイルに書き出さず、環境変数として保持\n\n**注意**: Node.jsはdevboxが提供する22系の安定版を使用します（.node-versionでは22.16.0を指定していますが、devboxでは`nodejs@22`で22系の安定バージョンを自動取得）。マイナーバージョンの違いはありますが互換性があるため、開発に支障はありません。\n\n### クイックスタート\n\n```bash\n# 1. devboxのインストール\ncurl -fsSL https://get.jetify.com/devbox | bash\n\n# 2. リポジトリのクローン\ngit clone https://github.com/cloudnativedaysjp/dreamkast.git\ncd dreamkast\n\n# 3. devbox環境の初期化\ndevbox shell\n\n# 4. 初回セットアップ（依存関係インストール）\ndevbox run setup\n\n# 5. AWS認証とシークレット取得（sourceで実行）\nsource bin/devbox-auth.sh\n\n# 6. アプリケーション起動\ndevbox run start\n```\n\nブラウザで `http://localhost:8080` にアクセスしてください。\n\n### セットアップの詳細\n\n#### 1. devboxのインストール\n\n```bash\ncurl -fsSL https://get.jetify.com/devbox | bash\n```\n\n詳細: \u003chttps://www.jetify.com/devbox/docs/installing_devbox/\u003e\n\n#### 2. devbox環境の初期化\n\n```bash\ndevbox shell\n```\n\n初回実行時、必要なパッケージ(Ruby、Node.js、Docker等)が自動ダウンロードされます(5-10分程度)。\n\n#### 3. 初回セットアップ\n\n```bash\ndevbox run setup\n```\n\nこのコマンドは以下を実行します:\n\n- `yarn install --check-files`\n- `bundle install`\n\n#### 4. AWS認証とシークレット取得\n\n```bash\nsource bin/devbox-auth.sh\n```\n\n**重要**: `source`コマンドで実行してください。これにより認証情報が現在のシェルセッションの環境変数として設定されます。\n\nこのコマンドは以下を自動的に実行します:\n\n- AWS SSO設定の自動構成（SSO Start URLを含む）\n- AWS SSOログイン（ブラウザで認証）\n- ECRログイン\n- AWS Secrets Managerから認証情報を自動取得し、環境変数にエクスポート\n  - Auth0設定(CLIENT_ID, CLIENT_SECRET, DOMAIN)\n  - Rails Master Key\n  - AWSクレデンシャル\n\n**セキュリティ**: 認証情報はファイルに書き出されず、現在のシェルセッション内でのみ有効です。新しいターミナルを開いた場合は再度認証が必要です。\n\n**注意**: 初回実行時はブラウザでAWS SSOの認証が求められます。Dreamkastチームから付与されたAWSアカウントでログインしてください。\n\n**リモート環境での認証**: リモート環境（SSH接続先など）でブラウザが開けない場合は、環境変数`DEVBOX_REMOTE=1`を使用します:\n\n```bash\nDEVBOX_REMOTE=1 source bin/devbox-auth.sh\n```\n\nこのコマンドは認証URLとコードを表示するので、手元のブラウザで開いて認証を完了してください。\n\n#### 5. アプリケーション起動\n\n```bash\ndevbox run start\n```\n\nこのコマンドは以下を実行します:\n\n- Docker Composeサービスの起動（db, redis, localstack, nginx, ui, fifo-worker）\n- データベースマイグレーション（`rails db:migrate`）\n- シードデータ投入（`rails db:seed`）\n- Railsアプリケーションの起動\n\nブラウザで `http://localhost:8080` にアクセスしてください。\n\n**注意**: PC起動後は毎回`devbox run start`を実行してください。このコマンドでDockerコンテナが起動します。\n\n### 日常の開発フロー\n\n#### アプリケーション起動\n\n```bash\ndevbox shell\nsource bin/devbox-auth.sh  # 認証（新しいシェルセッションごとに必要）\ndevbox run start\n```\n\n#### テスト実行\n\n```bash\ndevbox shell\ndevbox run test\n```\n\nまたは個別テスト:\n\n```bash\nbundle exec rspec spec/models/talk_spec.rb\n```\n\n#### Lint実行\n\n```bash\nbundle exec rubocop --autocorrect-all\n```\n\n#### データベース操作\n\nマイグレーション:\n\n```bash\nbundle exec rails db:migrate\n```\n\nシードデータ投入:\n\n```bash\nbundle exec rails db:seed\n```\n\n#### Docker Composeサービスの管理\n\nサービス一覧:\n\n```bash\ndocker compose ps\n```\n\nログ確認:\n\n```bash\ndocker compose logs -f db\n```\n\nサービス再起動:\n\n```bash\ndocker compose restart db\n```\n\n### トラブルシューティング\n\n#### devbox shellが遅い\n\n初回実行時はパッケージダウンロードで時間がかかります。2回目以降はキャッシュが効くため高速です。\n\n#### MySQL接続エラー\n\n```bash\n# DBサービスの状態確認\ndocker compose ps db\n\n# DBログ確認\ndocker compose logs db\n\n# DB再起動\ndocker compose restart db\n```\n\n#### yarn installエラー\n\n```bash\n# node_modules削除\nrm -rf node_modules\n\n# 再インストール\nyarn install --check-files\n```\n\n#### bundle installエラー\n\n```bash\n# vendor/bundle削除\nrm -rf vendor/bundle\n\n# 再インストール\nbundle install\n```\n\n#### ECRログインエラー\n\n```bash\n# AWS SSOセッションの更新\naws sso login --profile dreamkast\n\n# 認証スクリプト再実行\nsource bin/devbox-auth.sh\n```\n\n#### Secrets Manager取得エラー\n\n```bash\n# AWS認証状態確認\naws sts get-caller-identity --profile dreamkast\n\n# Secrets Managerへのアクセス権限確認\naws secretsmanager describe-secret \\\n  --secret-id dreamkast/reviewapp-env \\\n  --region us-west-2 \\\n  --profile dreamkast\n```\n\nアクセス権限がない場合は、Dreamkastチームに権限付与を依頼してください。\n\n#### Rails起動時のRAILS_MASTER_KEYエラー\n\n環境変数`RAILS_MASTER_KEY`が設定されているか確認してください。\n\n```bash\n# 設定確認\necho $RAILS_MASTER_KEY\n\n# 未設定の場合は認証スクリプトを再実行\nsource bin/devbox-auth.sh\n```\n\n**注意**: 認証情報は現在のシェルセッションでのみ有効です。新しいターミナルを開いた場合は`source bin/devbox-auth.sh`を再実行してください。\n\n## その他のセットアップ方法\n\ndevboxを使わない場合の代替セットアップ方法:\n\n- [Docker Composeを使ったセットアップ](docs/SETUP_DOCKER_COMPOSE.md) - 最速でセットアップしたい場合\n- [ローカル環境を使ったセットアップ](docs/SETUP_LOCAL.md) - rbenv/nodenvを使った従来方式\n\n## 高度な機能\n\n- [Ruby型定義（RBS）とVideoRegistration API](docs/ADVANCED.md)\n\n## rubocopの自動実行\n\n```bash\ngit config pre-commit.ruby \"bundle exec ruby\"\ngit config pre-commit.checks \"[rubocop]\"\n```\n\n## 参考リンク\n\n- [devbox公式ドキュメント](https://www.jetify.com/devbox/docs/)\n- [Dreamkast AGENT.md](AGENT.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudnativedaysjp%2Fdreamkast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudnativedaysjp%2Fdreamkast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudnativedaysjp%2Fdreamkast/lists"}