2.6.1 • Published 4 years ago

nacelle-gatsby-example v2.6.1

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Demo Site for Gatsby-Theme-Nacelle

A very basic, totally unstyled Gatsby site built with gatsby-source-nacelle. This site demonstrates the use of gatsby-node.js to programatically build pages for products and collections.

NOTE: Cart and checkout functionality will be available in a future example

Quick Start

To run this locally, you'll need to first create a Nacelle account and follow the directions for connecting a Shopify store. Once your store is connected, copy the Space ID and Token values from your Space Settings in the Nacelle Dashboard.

Next, we'll use these as environment variables. Create a .env file in the root of the product-gallery project with the following values:

NACELLE_SPACE_ID=your-nacelle-space-id
NACELLE_GRAPHQL_TOKEN=your-nacelle-graphql-token

You're ready to go! Get started with Yarn or NPM:

With NPM

npm run develop