Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 737 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 737 Bytes

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