From 7c50a4fe857e73d0807920a7d2a1849321b779e2 Mon Sep 17 00:00:00 2001 From: gensobunya Date: Thu, 13 Feb 2020 08:55:36 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=E3=82=BF=E3=82=A4=E3=83=88=E3=83=AB?= =?UTF-8?q?=E7=BF=BB=E8=A8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/preparing-for-deployment.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docs/preparing-for-deployment.md b/docs/docs/preparing-for-deployment.md index cd83888e7..bd14f963c 100644 --- a/docs/docs/preparing-for-deployment.md +++ b/docs/docs/preparing-for-deployment.md @@ -1,8 +1,8 @@ --- -title: Preparing a Site for Deployment +title: ウェブサイトをデプロイする準備 --- -## Create new Gatsby project +## 新しい Gatsby プロジェクトを作成する First thing you need to do is generate and configure your new Gatsby project. If you haven't already [set up a Gatsby project](/docs/quick-start) you can do so by first installing Gatsby globally: @@ -23,7 +23,7 @@ Finally, change into the new site directory: cd your-new-project ``` -## Generate your site +## あなたのウェブサイトをビルドする To generate static files in the simplest way, write @@ -33,11 +33,11 @@ gatsby build Then in the `public` directory will be files to copy to the server. -## Adding a path prefix +## パスのプレフィックスを追加する If you want a specific Path Prefix, for example `example.com/blog/` instead of `example.com/` read [adding a path prefix](/docs/path-prefix) -## Specific deploy +## 実際にデプロイする Additional actions may be required depending on which server you use. If you have a server from one of the following providers, you should read the individual subpages: From 9fe47053f103c61ea124f0ee21f641461d3d3979 Mon Sep 17 00:00:00 2001 From: gensobunya Date: Sun, 16 Feb 2020 08:22:22 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9C=AC=E6=96=87=E7=BF=BB=E8=A8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/preparing-for-deployment.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/docs/preparing-for-deployment.md b/docs/docs/preparing-for-deployment.md index bd14f963c..59f32129c 100644 --- a/docs/docs/preparing-for-deployment.md +++ b/docs/docs/preparing-for-deployment.md @@ -4,20 +4,20 @@ title: ウェブサイトをデプロイする準備 ## 新しい Gatsby プロジェクトを作成する -First thing you need to do is generate and configure your new Gatsby project. -If you haven't already [set up a Gatsby project](/docs/quick-start) you can do so by first installing Gatsby globally: +まず、デプロイのためにあなたの Gatsby プロジェクトを作成して設定します。 +もし、あなたがまだ[クイックスタート](/docs/quick-start)を実施していない場合、まずは Gatsby をグローバルインストールしてください。 ```shell npm install --global gatsby-cli ``` -Then generate a project with the following command: +そして、以下のコマンドで新しいプロジェクトを作成します。 ```shell gatsby new your-new-project ``` -Finally, change into the new site directory: +最後に新しいディレクトリに移動します。 ```shell cd your-new-project @@ -25,22 +25,23 @@ cd your-new-project ## あなたのウェブサイトをビルドする -To generate static files in the simplest way, write +Gatsby でウェブサイト用の静的ファイルを生成する方法は非常に簡単です。以下のコマンドを実行してください。 ```shell gatsby build ``` -Then in the `public` directory will be files to copy to the server. +`public` ディレクトリーにサーバーへコピーするための静的ファイルが出力されます。 ## パスのプレフィックスを追加する -If you want a specific Path Prefix, for example `example.com/blog/` instead of `example.com/` read [adding a path prefix](/docs/path-prefix) +もし、あなたが特定のパスにデプロイしたい場合、[パスの接頭辞を追加する](/docs/path-prefix)を読んでください。 +(例)`example.com/` の代わりに `example.com/blog/` にデプロイしたい -## 実際にデプロイする +## ホスティングサービスへデプロイする -Additional actions may be required depending on which server you use. -If you have a server from one of the following providers, you should read the individual subpages: +あなたの使っているホスティングサービスによっては、追加の作業が必要になるかもしれません。 +もし下記のサービスのどれかを使っているなら、それぞれのデプロイ用ドキュメントを読むと良いでしょう。 - [AWS Amplify](/docs/deploying-to-aws-amplify) - [S3/Cloudfront](/docs/deploying-to-s3-cloudfront) @@ -56,4 +57,4 @@ If you have a server from one of the following providers, you should read the in - [Firebase Hosting](/docs/deploying-to-firebase) - [KintoHub](/docs/deploying-to-kintohub) -If you don't see the hosting you are interested, it's possible to add other hosting providers through [contributions to the docs](/contributing/docs-contributions). +もし、あなたのホスティングサービスがリストにない場合は、ドキュメントを追加できます![ドキュメントの作成に参加する](/contributing/docs-contributions)を参照してください。 From 456603017ab4429dd4c78c2787cd0e0eeec215c0 Mon Sep 17 00:00:00 2001 From: gensobunya Date: Sun, 16 Feb 2020 08:26:19 +0900 Subject: [PATCH 3/3] =?UTF-8?q?list=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/preparing-for-deployment.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/preparing-for-deployment.md b/docs/docs/preparing-for-deployment.md index 59f32129c..ec1f12536 100644 --- a/docs/docs/preparing-for-deployment.md +++ b/docs/docs/preparing-for-deployment.md @@ -17,7 +17,7 @@ npm install --global gatsby-cli gatsby new your-new-project ``` -最後に新しいディレクトリに移動します。 +最後に新しいディレクトリーへ移動します。 ```shell cd your-new-project @@ -36,7 +36,7 @@ gatsby build ## パスのプレフィックスを追加する もし、あなたが特定のパスにデプロイしたい場合、[パスの接頭辞を追加する](/docs/path-prefix)を読んでください。 -(例)`example.com/` の代わりに `example.com/blog/` にデプロイしたい +(例)`example.com/` の代わりに `example.com/blog/` へデプロイしたい。 ## ホスティングサービスへデプロイする