A collection of tools for migrating to Ghost
Migrate is a set of command line tools, install them globally:
npm install --global @tryghost/migrate
Run migrate --help
to see a list of available commands.
Basic usage is migrate [source] source-info
:
E.g.
migrate medium path/to/export.zip
migrate wp-api https://mywpsite.com
Each source somes with optional flags to customise the migration:
migrate [source] --help
will give more detail
This is a mono repository, managed with lerna.
git clone
this repo &cd
into it as usualyarn setup
is mapped tolerna bootstrap
- installs all external dependencies
- links all internal dependencies
To add a new package to the repo:
- install slimer
- run
slimer new <package name>
yarn dev
yarn lint
run just eslintyarn test
run lint and tests
yarn ship
is an alias forlerna publish
- Publishes all packages which have changed
- Also updates any packages which depend on changed packages
Copyright (c) 2013-2020 Ghost Foundation - Released under the MIT license.