This website is built using Docusaurus 3, a modern static website generator.
第75回駒場祭以降、各学園祭ごとの差分はブランチで管理することにします。各学園祭の直前 or 直後に、その学園祭に対応するブランチ (例: 第75回駒場祭の場合は kf75) を発行してください。
昔は毎回デザインを変えていたようなので、体力があるならデザインを変えても良い。
インストールするもの:
- Node.js (for compat)
- Bun: JavaScript Runtime + Package Manager + Test Runner
bun install --frozen-lockfile(アップデート: bun update)
bun watch
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
bun run buildThis command generates static content into the build directory and can be served using any static contents hosting service.
Cloudflare の ut.code(); アカウントで管理しています。
kf75 のときの例。
(開発開始時)
-
Cloudflare Pages で新しい Pages を作る (kf75-website にすると分かりやすい)
- Pages の設定で特筆すべき点は、
- Production Branch ->
kf75 - Branch Preview (in Branch Control) -> オフにする
- Production Branch ->
- Custom Domain から
kf75.utcode.netを使うように設定する
- Pages の設定で特筆すべき点は、
-
utcode.netの DSN 設定からfestival.utcode.netをkf75.utcode.netに REDIRECT するようにする
各学園祭ごとに https://{kf,mf}\d+\.utcode\.net の形式の URL を発行してください。
以下は、過去の学園祭のものです。過去のものに触れる必要はありません。 学園祭が終わり次第、その学園祭で発行したブランチにデプロイを紐づけて、下に追記してください。