From 6de65faef464e92076936aec5f8dfa705b6529fb Mon Sep 17 00:00:00 2001 From: Shu Uesugi Date: Tue, 14 Jan 2020 07:03:28 -0800 Subject: [PATCH] Add more details to the deployment doc (#10085) --- docs/deployment.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index 00ceb6c3703f..17e82c01f762 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -60,11 +60,11 @@ HTTPS is enabled by default and doesn't require extra configuration. #### From a git repository -You can link your project in [GitHub](https://zeit.co/new), [GitLab](https://zeit.co/new), or [Bitbucket](https://zeit.co/new) through the [web interface](https://zeit.co/new). This will automatically set up deployment previews for pull requests and commits. +You can link your project in [GitHub](https://zeit.co/new), [GitLab](https://zeit.co/new), or [Bitbucket](https://zeit.co/new) through the [web interface](https://zeit.co/new). This will automatically set up deployment previews for pull requests and commits. To learn more about ZEIT Now’s Git integration, take a look at [our documentation here](https://zeit.co/docs/v2/git-integration/). #### Through the ZEIT Now CLI -You can install the command line tool using npm: +You can install [Now CLI](https://zeit.co/download) from either npm or Yarn. Using npm, run the following command from your terminal: ```bash npm install -g now @@ -78,6 +78,10 @@ now You will receive a unique link similar to the following: https://your-project.username.now.sh. +#### Custom domains + +Once deployed on ZEIT Now, your projects can be assigned to a custom domain of your choice. To learn more, take a look at [our documentation here](https://zeit.co/docs/v2/custom-domains/). + ## Self hosting Next.js can be deployed to any hosting provider that supports Node.js. In order to self-host there are two commands: `next build` and `next start`.