Sample DatoCMS website built with GatsbyJS
Switch branches/tags
Nothing to show
Clone or download
Latest commit a43e367 Mar 21, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src First commit Mar 21, 2018
.gitignore First commit Mar 21, 2018
.nvmrc First commit Mar 21, 2018
README.md First commit Mar 21, 2018
gatsby-config.js First commit Mar 21, 2018
gatsby-node.js First commit Mar 21, 2018
package.json First commit Mar 21, 2018
yarn.lock First commit Mar 21, 2018

README.md

Gatsby Portfolio Website

This repo contains a working static website written with Gatsby, integrated with content coming from this DatoCMS administrative area.

See the demo

Usage

First, install the dependencies of this project:

yarn install

Add an .env file containing the read-only API token of your DatoCMS site:

echo 'DATO_API_TOKEN=abc123' >> .env

Then, to run this website in development mode (with live-reload):

yarn develop

To build the final, production ready static website:

yarn build

The final result will be saved in the public directory.

About

The goal of this project is to show how easily you can create static sites using the content (text, images, links, etc.) stored on DatoCMS. This project is configured to fetch data from a specific administrative area using the API DatoCMS provides.

You can find further information about how to integrate DatoCMS with Gatsby in our documentation.

This websites uses: