Skip to content

Commit 8dc97ba

Browse files
sync docs@126c226 (#392)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e2ffc96 commit 8dc97ba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2598
-2686
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: 'Next.js アプリケーションのデプロイ方法'
3+
nav_title: 'デプロイ'
4+
description: 'Next.js アプリケーションのデプロイ方法を学びましょう。'
5+
---
6+
7+
Next.js アプリのデプロイ準備が整ったら、[マネージドインフラストラクチャプロバイダー](#managed-infrastructure-providers)を選択するか、アプリケーションを[セルフホスティング](#self-hosting)することができます。
8+
9+
## マネージドインフラストラクチャプロバイダー {#managed-infrastructure-providers}
10+
11+
マネージドプラットフォームは、Next.js アプリをデプロイするための実用的なオプションです。これらのプロバイダーは、ホスティング、スケーリング、サーバー構成を代行してくれます。
12+
13+
Next.js の作成者およびメンテナーである [Vercel](https://vercel.com/docs/frameworks/nextjs?utm_source=next-site&utm_medium=docs&utm_campaign=next-website) は、**フル機能サポート****ゼロ構成**でアプリケーションをデプロイすることができます。
14+
15+
- [Vercel 上の Next.js についてさらに学ぶ](https://vercel.com/docs/frameworks/nextjs?utm_source=next-site&utm_medium=docs&utm_campaign=next-website)
16+
- [テンプレートをデプロイして](https://vercel.com/templates/next.js?utm_source=next-site&utm_medium=docs&utm_campaign=next-website) Vercel 上で Next.js を試す
17+
18+
また、以下のコミュニティが管理するデプロイテンプレートもあります:
19+
20+
- [Deno](https://github.com/nextjs/deploy-deno)
21+
- [Flightcontrol](https://github.com/nextjs/deploy-flightcontrol)
22+
- [Railway](https://github.com/nextjs/deploy-railway)
23+
- [Render](https://github.com/nextjs/deploy-render)
24+
- [SST](https://github.com/nextjs/deploy-sst)
25+
26+
各プロバイダーのドキュメントを参照して、サポートされている Next.js の機能についての情報を確認してください。
27+
28+
## セルフホスティング {#self-hosting}
29+
30+
セルフホスティングは、独自のサーバーのプロビジョニング、コンテナの管理、スケーリングを担当することを意味するかもしれません。Next.js をセルフホスティングする方法は3つあります:
31+
32+
- [Node.js サーバー](/docs/app/building-your-application/deploying#nodejs-server)
33+
- [Docker コンテナ](/docs/app/building-your-application/deploying#docker-image)
34+
- [静的エクスポート](/docs/app/building-your-application/deploying#static-html-export)
35+
36+
以下のセルフホスティングプロバイダーに関するコミュニティが管理するデプロイ例があります:
37+
38+
- [DigitalOcean](https://github.com/nextjs/deploy-digitalocean)
39+
- [Fly.io](https://github.com/nextjs/deploy-fly)
40+
- [GitHub Pages](https://github.com/nextjs/deploy-github-pages)
41+
- [Google Cloud Run](https://github.com/nextjs/deploy-google-cloud-run)
42+
43+
> **🎥 視聴:** Next.js のセルフホスティングについてさらに学ぶ → [YouTube (45 分)](https://www.youtube.com/watch?v=sIVL4JMqRfc)
Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,52 @@
11
---
2-
title: 'アップグレード'
3-
description: 'Next.jsアプリケーションを最新バージョンにアップグレードする方法を学びます。'
2+
title: 'Next.js アプリをアップグレードする方法'
3+
nav_title: 'アップグレード'
4+
description: 'Next.js アプリケーションを最新バージョンにアップグレードする方法を学びます。'
45
related:
56
title: 'バージョンガイド'
67
description: '詳細なアップグレード手順については、バージョンガイドをご覧ください。'
78
links:
8-
- 'app/building-your-application/upgrading/version-15'
9-
- 'app/building-your-application/upgrading/version-14'
9+
- 'app/guides/upgrading/version-15'
10+
- 'app/guides/upgrading/version-14'
1011
---
1112

1213
## 最新バージョン {#latest-version}
1314

14-
Next.jsを最新バージョンに更新するには`upgrade` codemodを使用できます
15+
Next.js を最新バージョンに更新するには`upgrade` codemod を使用します
1516

1617
```bash title="Terminal"
1718
npx @next/codemod@canary upgrade latest
1819
```
1920

20-
手動でアップグレードしたい場合は、最新のNext.jsとReactのバージョンをインストールしてください
21+
手動でアップグレードしたい場合は、最新の Next.js と React のバージョンをインストールしてください
2122

2223
```bash title="Terminal"
2324
npm i next@latest react@latest react-dom@latest eslint-config-next@latest
2425
```
2526

26-
## Canaryバージョン {#canary-version}
27+
## Canary バージョン {#canary-version}
2728

28-
最新のcanaryに更新するには、まずNext.jsの最新バージョンを使用しており、すべてが期待通りに動作していることを確認してください。その後、次のコマンドを実行します:
29+
最新の canary に更新するには、まず Next.js の最新バージョンを使用しており、すべてが期待通りに動作していることを確認してください。その後、次のコマンドを実行します:
2930

3031
```bash title="Terminal"
3132
npm i next@canary
3233
```
34+
35+
### Canary で利用可能な機能 {#features-available-in-canary}
36+
37+
現在、canary で利用可能な機能は以下の通りです:
38+
39+
**キャッシング**
40+
41+
- [`"use cache"`](/docs/app/api-reference/directives/use-cache)
42+
- [`cacheLife`](/docs/app/api-reference/functions/cacheLife)
43+
- [`cacheTag`](/docs/app/api-reference/functions/cacheTag)
44+
- [`dynamicIO`](/docs/app/api-reference/config/next-config-js/dynamicIO)
45+
46+
**認証**
47+
48+
- [`forbidden`](/docs/app/api-reference/functions/forbidden)
49+
- [`unauthorized`](/docs/app/api-reference/functions/unauthorized)
50+
- [`forbidden.js`](/docs/app/api-reference/file-conventions/forbidden)
51+
- [`unauthorized.js`](/docs/app/api-reference/file-conventions/unauthorized)
52+
- [`authInterrupts`](/docs/app/api-reference/config/next-config-js/authInterrupts)

0 commit comments

Comments
 (0)