Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 743 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 743 Bytes

contentful-ghost-importer

A CLI that imports data from ghost to contentful.

Installation

npm install -g contentful-ghost-importer

Usage

The CLI takes care of creating the necessary content types (Post, Tag, User) as well as of importing all posts, tags and users from the ghost export into Contentful.

contentful-ghost-importer -s <spaceId> -t <cmaToken> path/to/ghost-data.json

Ghost data

Before running the importer you will need to log into your ghost admin interface and download all your data as JSON file. You can find instructions about how to achieve that in the ghost support section.