Category: Uncategorized
-
Automating Site Operations with Recipes
Because Gatsby recipes are a relatively new feature, introduced late in the Gatsby 2.0 release cycle, you may need to upgrade to the latest version of Gatsby to access recipe features: Then, run the following command in the root of an existing Gatsby project to access the list of available recipes: You’ll see output in your…
-
Infrastructure as Code
IaC involves the notion of managing discrete environments (such as development, testing, and production) through configuration files and scripts that ensure consistency across your site builds. Differences between environments, such as differing Node.js versions, are a common but often subtle source of problems for developers. IaC is intended to minimize this sort of “drift.” In Gatsby, configuration…
-
Creating Recipes
In this section we’ll explore recipes in Gatsby, which are configuration files or scripts that Gatsby ingests to generate predefined and consistent environments across development and production with minimal overhead. We’ll also discuss the concept of IaC and how to automate common Gatsby site operations.
-
Advanced Topics in Gatsby
In the previous sections, we’ve examined some of the most important beginning and intermediate use cases when developing Gatsby sites. But there are also many features available in Gatsby for more advanced use cases. For example, as a Gatsby developer, you may wish to automate certain tasks during Gatsby site setup, customize the GraphQL schema…