Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1020 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 1020 Bytes

Gentics Mesh Gatsby Example

The default Gatsby starter

Now uses Gatsby v2 and the new gatsby-source-graphql.

For an overview of how things work in Gatsby please refer to the Gatsby docs

How to start

  1. git clone https://github.com/gentics/gatsby-mesh-example.git && cd gatsby-mesh-example/
  2. yarn && yarn develop

You can either choose to use this example in combination with the preconfigured Gentics Mesh Demo instance which will be regularly resetted or you can run your own headless cms server via docker run -p 8080:8080 -d gentics/mesh-demo.

In that case you need to update the gatsby-config.js config:

  • url: 'http://localhost:8080/api/v2/demo/graphql'
  • imageBaseUrl: 'http://localhost:8080/api/v2/demo/webroot/'

Deploy

Deploy to Netlify