This repo contains a static website written with GatsbyJS, integrated with content coming from DatoCMS.
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.
This websites uses:
- Yarn as package manager;
- GatsbyJS as website generator;
- gatsby-source-datocms to integrate the website with DatoCMS.