Skip to content

storyblok/contentful-exporter

Repository files navigation

contentful-exporter

This is a sample project meant to act as a guide for migrating content from Contentful to Storyblok.

Tools Used This project utilizes the following:

Getting Started

  1. Install Dependencies
npm install
  1. Populate the Configs:

Contentful:
Refer to the Contentful [space export command](https://github.com/contentful/contentful-cli/tree/main/docs/space/export) documentation to determine the required values for the `contentfulConfig.json` file.

Storyblok:
Create a `storyblokConfig.json` file in the project root with the following content:
{
  "storyblokPersonalAccessToken": "your_personal_access_token",
  "storyblokSpaceId": "your_space_id",
  "storyblokSpaceRegion": "your_space_region"
}

To learn how to create a Personal Access Token for Storyblok, refer to this documentation: Storyblok Access Tokens

  1. Run the Migration
npm run migrate

This command will export content from Contentful and recreate the corresponding entries in your specified Storyblok space.

About

Script to make easier migrating content from Contentful to Storyblok

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published