From 090cf7d92e8e660b1dccf8d64780bd2430660cbc Mon Sep 17 00:00:00 2001 From: yyamashita Date: Mon, 15 Jun 2026 23:25:39 +0900 Subject: Add official-site-2023-dev as git submodule at official-site/ - Move management scripts from official-site/ to official-site-scripts/ - Update CLAUDE.md paths accordingly - Deploy key configured at ~/.ssh/mosquitone_official_site_deploy with SSH alias github-mosquitone-official-site Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'CLAUDE.md') diff --git a/CLAUDE.md b/CLAUDE.md index 81782dc..fc843f0 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -51,7 +51,7 @@ golive に登録されていない会場は `enrich-event.py` が `detailURL` ```bash # events/ ディレクトリに JSON ファイルを作成 # ファイル名: YYYY-MM-DD-.json -cp official-site/events/2026-06-27-cre4m-sod4.json official-site/events/.json +cp official-site-scripts/events/2026-06-27-cre4m-sod4.json official-site-scripts/events/.json # 内容を編集 ``` @@ -66,7 +66,7 @@ cp official-site/events/2026-06-27-cre4m-sod4.json official-site/events/.json +bash official-site-scripts/add-event.sh official-site-scripts/events/.json ``` 返ってきた `id` を控えておく。 @@ -75,7 +75,7 @@ bash official-site/add-event.sh official-site/events/.json ```bash # サーバー上で実行(golive SQLite DB に直接アクセスできる環境) -python3 official-site/enrich-event.py +python3 official-site-scripts/enrich-event.py ``` エンリッチが自動で行うこと: @@ -91,19 +91,19 @@ golive にまだデータがない場合(スクレイプが古い等)は先 curl -H "X-Crawler-Access: f9a3c1e847b2d056" \ "https://golive.yyamashita.com/api/scrape?venue_id=navey-floor" # 完了を待ってから再実行 -python3 official-site/enrich-event.py +python3 official-site-scripts/enrich-event.py ``` 未エンリッチのイベントをまとめて処理する場合: ```bash -python3 official-site/enrich-event.py --all-unenriched +python3 official-site-scripts/enrich-event.py --all-unenriched ``` ### ステップ 3: サイトをデプロイ ```bash -bash official-site/deploy.sh +bash official-site-scripts/deploy.sh ``` Amplify が `main` ブランチを再ビルドし、https://www.mosquit.one に反映される。完了まで約 5〜10 分。 @@ -114,12 +114,12 @@ Amplify が `main` ブランチを再ビルドし、https://www.mosquit.one に ```bash # ライブ一覧(公開フラグ付き) -bash official-site/list-events.sh +bash official-site-scripts/list-events.sh # イベント追加 → エンリッチ → デプロイ(一連の流れ) -bash official-site/add-event.sh official-site/events/.json -python3 official-site/enrich-event.py -bash official-site/deploy.sh +bash official-site-scripts/add-event.sh official-site-scripts/events/.json +python3 official-site-scripts/enrich-event.py +bash official-site-scripts/deploy.sh ``` ## AWS 認証 @@ -135,7 +135,7 @@ AWS_DEFAULT_REGION=ap-northeast-1 `aws` コマンドが未インストールの場合は `/tmp/awscli/aws/dist/aws` を使用: ```bash -AWS_CLI=/tmp/awscli/aws/dist/aws python3 official-site/enrich-event.py +AWS_CLI=/tmp/awscli/aws/dist/aws python3 official-site-scripts/enrich-event.py ``` ## AppSync Event スキーマ -- cgit v1.2.3