This project serves as a getting started for Cockpit and Gatsby.
- GatsbyJS: a Blazing-fast static site generator for React
- Cockpit Headless CMS: a self-hosted headless and api-driven CMS
- The Project: a simple portfolio page with pages and projects.
For an overview of the project structure please refer to the Gatsby documentation - Building with Components.
- Run a PHP server on the
cockpit
folder. - Go to http://localhost/install (if Cockpit is running on localhost)
- Generate a new API Key
- Replace the API Key to gatsby-config.js
npm install
npm run develop
npm run build