Skip to content

Exporter from custom Twill CMS to Ghost

Notifications You must be signed in to change notification settings

FelixOnline/xelif-export-ghost

Repository files navigation

Xelif to Ghost exporter

Exports articles, pages and images from Xelif, our custom-built Twill-based CMS for importing into Ghost.

Setup

Create a file called mysql-config.json in the same directory as this README file. The content should look something like this, amended with credentials as appropriate.

{
  "host": "127.0.0.1",
  "port": 3306,
  "user": "username",
  "password": "password",
  "database": "laravel"
}

Install the required dependencies with

yarn

Run the program with

yarn build && node build/index.js

Use prettier to format TypeScript files

npx prettier --write src/lib/*.ts src/*.ts

About

Exporter from custom Twill CMS to Ghost

Topics

Resources

Stars

Watchers

Forks