Skip to content

perifacode/perifacode.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ab1e1f9 · May 30, 2021

History

21 Commits
May 30, 2021
May 29, 2021
May 30, 2021
May 30, 2021
May 30, 2021
Feb 5, 2021
May 30, 2021
May 30, 2021
May 30, 2021
May 30, 2021
May 30, 2021
May 30, 2021
May 30, 2021
May 30, 2021

Repository files navigation

perifaCode

This repo contains a static website written with GatsbyJS, integrated with content coming from DatoCMS.

See the live demo

If you want to use try this out yourself, you first need to set up a project on DatoCMS which will host your data.

You can sign up for a free account and then you can simply click this button:

Deploy with DatoCMS

Repo 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: