gatsby-starter-wordpress icon indicating copy to clipboard operation
gatsby-starter-wordpress copied to clipboard

Step by step guide

Open chmac opened this issue 6 years ago • 1 comments

Let's create a step by step guide that tells folks how to get started with this starter. Would be great if we could somehow throw that as a message in the console when the user runs gatsby new ....

chmac avatar Oct 03 '18 16:10 chmac

You can say something similar to this:

Before you start make sure the following plugins are installed on your live WordPress Site

WPGraphQL
WPGatsby 

To connect your configure your new Gatsby Site to serve WordPress content make sure to open the gatsby-config.js and replace the URL under:

`resolve: 'gatsby-source-wordpress'`

with your live WordPress site URL /graphql (include https if using SSL).

Run these 2 commands to see the changes live:

cd YourSiteDirectory
gatsby develop

robertzo avatar Aug 26 '21 17:08 robertzo