Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.44 KB

README.md

File metadata and controls

52 lines (35 loc) · 1.44 KB

Superrb Gatsby Theme

Gatsby template for websites with content managed in Prismic

You will need Prismic API keys to start to build this project. Please refer to .env.example for instructions.

Requirements

Getting Started

Create a new site and Prismic repository using the following command

prismic theme --theme-url https://github.com/superrbstudio/gatsby-theme

Enter the repository name when prompted, and this will be created for you.

Build (Local Development)

Use the following to perform a development build and run a local server.

  • copy .env.example to .env.development
  • populate Prismic API keys and repository name
  • Run yarn
  • Run yarn start

Production Build (Local Simulation)

Use the following to perform a production build and run a local server.

  • copy .env.example to .env.production
  • populate Prismic API keys and repository name
  • Run yarn
  • Run yarn start:prod

Production Build

Use the following to create a production build.

  • copy .env.example to .env.production
  • populate Prismic API keys and repository name
  • Run yarn
  • Run yarn build

The production build files will be found in /public

More information