Skip to content

Commit d9e0e18

Browse files
committed
[upd] tcu-dc-web README 更新に伴う変更
1 parent 3df4ac0 commit d9e0e18

1 file changed

Lines changed: 17 additions & 9 deletions

File tree

website_tech/readme.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,33 @@
1010
- [microCMS](https://app.microcms.io/signin)
1111
- [Cloudflare Pages](https://pages.cloudflare.com/)
1212

13-
## コンテンツ管理
13+
## 使用技術
14+
15+
| 言語 | 開発環境 | ヘッドレスCMS | デプロイ |
16+
| - | - | - | - |
17+
| ![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)<br>![Next.js](https://img.shields.io/badge/next%20js-000000?style=for-the-badge&logo=nextdotjs&logoColor=white)<br>![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white) | ![ESLint](https://img.shields.io/badge/eslint-3A33D1?style=for-the-badge&logo=eslint&logoColor=white)<br>![Prettier](https://img.shields.io/badge/prettier-1A2C34?style=for-the-badge&logo=prettier&logoColor=F7BA3E)<br>![Stylelint](https://img.shields.io/badge/stylelint-000?style=for-the-badge&logo=stylelint&logoColor=white)<br>![Github Actions](https://img.shields.io/badge/GitHub_Actions-2088FF?style=for-the-badge&logo=github-actions&logoColor=white) | ![MicroCMS](https://img.shields.io/badge/microcms-000000?style=for-the-badge) | ![Cloudflare Pages](https://img.shields.io/badge/Cloudflare%20Pages-F38020?style=for-the-badge&logo=Cloudflare%20Pages&logoColor=white) |
18+
19+
## コンテンツ管理(ヘッドレスCMS)
1420

1521
サイト内コンテンツの管理には、[microCMS](https://microcms.io/) を利用しています。
1622

17-
以下の URL から microCMS の管理画面にアクセスできます。
23+
以下のリンクから microCMS の管理画面にアクセスできます。
1824

1925
- https://app.microcms.io/signin
2026

21-
## デプロイ先
27+
## デプロイ
2228

23-
本リポジトリの `main` ブランチに push すると[Cloudflare Pages](https://pages.cloudflare.com/) に自動デプロイされます。
29+
本リポジトリの `main` ブランチに push もしくは microCMS のコンテンツを更新すると[Cloudflare Pages](https://pages.cloudflare.com/) に自動デプロイされます。
2430

25-
ビルド時に静的な HTML ファイルを生成する(SSG)ため、microCMS でコンテンツを更新した場合、サイトに反映されるまで数分かかります
31+
ビルド時に静的な HTML ファイルを生成する(SSG)ため、サイトに更新が反映されるまで数分かかります
2632

27-
## 使用技術
33+
Next.js プロジェクトを Cloudflare Pages にデプロイするために、[@cloudflare/next-on-pages](https://github.com/cloudflare/next-on-pages) を利用しています。
2834

29-
| 言語 | 開発環境 | ヘッドレスCMS | デプロイ先 |
30-
| - | - | - | - |
31-
| ![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)<br>![Next.js](https://img.shields.io/badge/next%20js-000000?style=for-the-badge&logo=nextdotjs&logoColor=white)<br>![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white) | ![ESLint](https://img.shields.io/badge/eslint-3A33D1?style=for-the-badge&logo=eslint&logoColor=white)<br>![Prettier](https://img.shields.io/badge/prettier-1A2C34?style=for-the-badge&logo=prettier&logoColor=F7BA3E)<br>![Stylelint](https://img.shields.io/badge/stylelint-000?style=for-the-badge&logo=stylelint&logoColor=white)<br>![Github Actions](https://img.shields.io/badge/GitHub_Actions-2088FF?style=for-the-badge&logo=github-actions&logoColor=white) | ![MicroCMS](https://img.shields.io/badge/microcms-000000?style=for-the-badge) | ![Cloudflare Pages](https://img.shields.io/badge/Cloudflare%20Pages-F38020?style=for-the-badge&logo=Cloudflare%20Pages&logoColor=white) |
35+
本プロジェクトは Cloudflare Pages にデプロイ済みですが、現在の設定を削除し再デプロイする場合には以下の設定が必要です。
36+
37+
- `設定 > 変数とシークレット` にて、環境変数を追加(設定内容は `.env.example` 参照)
38+
39+
- `設定 > ランタイム > 互換性フラグ` にて `nodejs_compat` を追加して保存
3240

3341
## Getting Started
3442

0 commit comments

Comments
 (0)