scaffold-web
main
ステップ0: web コンテナの土台を追加する。
cmd/web
WEB_ADDR
:8080
internal/tver
internal/web
html/template
/healthz
Dockerfile
compose.yaml
192.168.10.155:8080
PROJECT.md
env GOCACHE=/private/tmp/tver-go-cache GOPROXY=off go test -count=1 ./...
go vet ./...
docker build
/
docker compose config
🤖 Generated with Claude Code
https://claude.ai/code/session_01BcuBr9DyfcqZY8xFQsY5Di
No dependencies set.
The note is not visible to the blocked user.
概要
ステップ0: web コンテナの土台を追加する。
cmd/web: HTTP サーバー(WEB_ADDR、既定:8080)internal/tver: TVer API クライアント(セッション発行、ドラマ・バラエティの新着取得、9項目の取り出し)internal/web:html/template+ htmx 2.0.11(embed でローカル配信)の画面枠、/healthz、空の4ページ(新着/待ち行列/登録番組/ライブラリ)Dockerfile(マルチステージ、非 root)・compose.yaml(web のみ、192.168.10.155:8080)PROJECT.mdを更新(今の状態・構成・確かめ方)確認
env GOCACHE=/private/tmp/tver-go-cache GOPROXY=off go test -count=1 ./...→ 28件成功・0失敗(Developer 作成、QA が不足分を追加)go vet ./...→ 指摘0件docker build・起動を確認:/healthz・/・htmx が HTTP 200、実行ユーザー uid 65532、docker compose config成功(検証用リソースは削除済み)🤖 Generated with Claude Code
https://claude.ai/code/session_01BcuBr9DyfcqZY8xFQsY5Di