This repository was archived by the owner on Jan 20, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 113
Tranlate docs/deploying-to-zeit-now #166
Merged
Naturalclar
merged 1 commit into
gatsbyjs:master
from
mqtsuo02:docs/deploying-to-zeit-now
Feb 10, 2020
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,31 @@ | ||
| --- | ||
| title: Deploying to ZEIT Now | ||
| title: ZEIT Now へのデプロイ | ||
| --- | ||
|
|
||
| [ZEIT Now](https://zeit.co/now) is a cloud platform for websites and serverless APIs, that you can use to deploy your Gatsby projects to your personal domain (or a free `.now.sh` suffixed URL). | ||
| [ZEIT Now](https://zeit.co/now) はウェブサイトとサーバーレス API のためのクラウドプラットフォームであり、Gatsby のプロジェクトを独自ドメイン(または無料の `.now.sh` がついた URL)にデプロイできます。 | ||
|
|
||
| This guide will show you how to get started in a few quick steps: | ||
| このガイドでは、少ないステップではじめる方法を紹介します。 | ||
|
|
||
| ## Step 1: Installing Now CLI | ||
| ## ステップ 1:Now CLI のインストール | ||
|
|
||
| To install their command-line interface with [npm](https://www.npmjs.com/), run the following command: | ||
| [npm](https://www.npmjs.com/) を使って Now CLI をインストールするには、つぎのコマンドを実行します。 | ||
|
|
||
| ```shell | ||
| npm install -g now | ||
| ``` | ||
|
|
||
| ## Step 2: Deploying | ||
| ## ステップ 2:デプロイ | ||
|
|
||
| You can deploy your application by running the following command in the root of the project directory: | ||
| プロジェクトのルートディレクトリーでつぎのコマンドを実行すると、アプリケーションをデプロイできます。 | ||
|
|
||
| ```shell | ||
| now | ||
| ``` | ||
|
|
||
| That's all! | ||
| これで完了です! | ||
|
|
||
| Your site will now deploy, and you will receive a link similar to the following: https://gatsby-functions.now-examples.now.sh | ||
| これでサイトがデプロイされ、このようなリンクが表示されます:https://gatsby-functions.now-examples.now.sh | ||
|
|
||
| ## References: | ||
| ## 関連資料 | ||
|
|
||
| - [Example Project](https://github.com/zeit/now-examples/tree/master/gatsby) | ||
| - [プロジェクト例](https://github.com/zeit/now/tree/master/examples/gatsby) | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
確かにリンク先はこれが正しそうですね。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mqtsuo02
本家の Gatsby docs にも PR 出しちゃいましょう 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Naturalclar
ありがとうございます!やってみます!