Skip to content

Commit

Permalink
Add more details to the deployment doc (#10085)
Browse files Browse the repository at this point in the history
  • Loading branch information
chibicode authored and Timer committed Jan 14, 2020
1 parent 7f25fb6 commit 6de65fa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/deployment.md
Expand Up @@ -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
Expand All @@ -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`.
Expand Down

0 comments on commit 6de65fa

Please sign in to comment.