Commit f3d9c7d0 authored by Benji Fisher's avatar Benji Fisher

4: Update documentation now that Gatsby builds automatically

... and is served by nginx.
parent e5c0f4a0
......@@ -79,21 +79,26 @@ It will
- Install the [JSON:API](https://www.drupal.org/project/jsonapi) Drupal
module.
- Install a Gatsby project pulling data from the Drupal site.
- Build the Gatsby project.
- Tell you which URLs are being served.
In particular, you should be able to visit these pages in a web browser:
In particular, you should be able to visit these pages in a web browser.
- Your Drupal site: https://drupal.lgd.lndo.site/
- Your JSON API endpoint: https://drupal.lgd.lndo.site/jsonapi
- Your Gatsby site: https://gatsbydrupal.lgd.lndo.site/
- Your Gatsby pages imported from Drupal: https://gatsbydrupal.lgd.lndo.site/blog/
For now, the Gatsby pages will only be available once you have started the
Gatsby server. (See below.)
Your browser will give you a warning about the site's certificate.
If that bothers you, then you can use `http` instead of `https`.
The second command gives more information about the configured containers.
For sample command-line output from these two commands, see
[Start Lando](docs/lando-start-log.md).
## Other ways to explore
### Build and run your Gatsby project
There are two ways you can use `nodejs` to serve your site:
......@@ -131,8 +136,6 @@ Use CTRL-C in your terminal window to stop the node server.
For sample command-line output, see
[Starting Gatsby](docs/gatsby-log.md).
## Other ways to explore
### Create a Gatsby project
If you want to run additional Gatsby sites, then run the following commands
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment