Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(doc): switch zeit now to Vercel Now for Gatsby deployment #23346

Merged
merged 9 commits into from
Apr 22, 2020
31 changes: 31 additions & 0 deletions docs/docs/deploying-to-now.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Deploying to Vercel Now
---

Ekwuno marked this conversation as resolved.
Show resolved Hide resolved
[Vercel Now](https://vercel.com/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).

This guide will show you how to get started in a few quick steps:

## Step 1: Getting Started with Gatsby
Ekwuno marked this conversation as resolved.
Show resolved Hide resolved

To install the Vercel command-line interface with [npm](https://www.npmjs.com/), run the following command:

```shell
npm install -g now
```

## Step 2: Deploying

You can deploy your application by running the following command in the root of the project directory:
Ekwuno marked this conversation as resolved.
Show resolved Hide resolved

```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

## References:

- [Example Project](https://github.com/zeit/now/tree/master/examples/gatsby)