Skip to content

Commit

Permalink
Update deploy-gatsby.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews authored Jan 21, 2018
1 parent 4a57f78 commit 3ceba7f
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions docs/docs/deploy-gatsby.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,19 +250,20 @@ Finally, add a `static.json` file in the root of your project to define the dire

In order to deploy your Gatsby project using [Now](https://zeit.co/now), you can do the following:

1. Install a node server package (such as `serve`, or `http-server`)
1. Install the Now CLI

```
npm install --save serve
```
`npm install -g now`

2. Add a `start` script to your `package.json` file, this is what Now will use to run your application:
2. Install a node server package (such as `serve`, or `http-server`)

```
"start": "serve public/"
```
`npm install --save serve`

3. Add a `start` script to your `package.json` file, this is what Now will use to run your application:


`"start": "serve public/"`

3. Run `now` at the root of your Gatsby project, this will upload your project, run the `build` script, and then your `start` script.
4. Run `now` at the root of your Gatsby project, this will upload your project, run the `build` script, and then your `start` script.

## Debugging tips

Expand Down

0 comments on commit 3ceba7f

Please sign in to comment.