This repo is a Gatsby Storyblok starter template used in following tutorial: www.storyblok.com/tp/gatsby-multilanguage-website-tutorial
To use this project you have to have a Storyblok account. If you don't have one yet you can register at www.storyblok.com.
- Get the source code and install dependencies.
git clone https://github.com/storyblok/gatsby-storyblok-boilerplate.git
cd gatsby-storyblok-boilerplate
npm install
-
Exchange the
accessToken
ingatsby-config.js
with the preview token of a new empty Storyblok space which you can find on the space settings page. -
Start the project with
gatsby develop
and set the preview domain in Storyblok tohttp://localhost:8000/editor?path=
This project comes with a few handy commands for linting and code fixing. The most important ones are the ones to develop and ship code. You can find the most important commands below.
Run in the project locally for development.
Run a production build into ./public. The result is ready to be put on any static hosting you prefer.
Run a production build into ./public and publish the site to GitHub pages.