Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
gatsbybot committed Jul 20, 2019
1 parent 432c379 commit f5d8069
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/docs/recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ To wrap pages with layouts, use normal React components.
## Deploying

Showtime. Once you are happy with your site, you are ready to go live with it!

### Preparing for deployment

#### Prerequisites

- A [Gatsby site](/docs/quick-start)
Expand Down Expand Up @@ -194,20 +196,19 @@ There are a few reasons to do this--for instance, hosting a blog built with Gats
gatsby build --prefix-paths
```


5. Make sure that your site looks the same when running `gatsby build` as with `gatsby develop`. By running `gatsby serve` when you build your site, you can test out (and debug if necessary) the finished product before deploying it live.

```shell
gatsby build && gatsby serve
```


#### Additional Resources

- Walk through building and deploying an example site in [tutorial part one](/tutorial/part-one/#deploying-a-gatsby-site)
- Learn about [performance optimization](/docs/performance/)
- Read about [other deployment related topics](/docs/preparing-for-deployment/)
- Check out the [deployment docs](/docs/deploying-and-hosting/) for specific hosting platforms and how to deploy to them

## Querying data

### The StaticQuery Component
Expand Down

0 comments on commit f5d8069

Please sign in to comment.