Skip to content

Commit e470fe4

Browse files
committed
feat(migrate): add README
1 parent 04d197a commit e470fe4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

utils/migrate/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Ruby Central Ghost Migrator
2+
3+
The purpose of this package is to copy data from a staging Ghost environment to a production Ghost environment.
4+
5+
## Setup
6+
7+
1. The migration script reads the `slugs` key from `./config/settings.json` to round up a list of posts to port over to production. Make sure that array is up to date for your needs.
8+
1. Create a `.env` file using the `.env.example` file as a guide. You will need to follow [Ghost's integration instructions](https://ghost.org/docs/admin-api/) to retrieve your API keys.
9+
10+
## How to run a migration
11+
12+
In this directory, run the command `npm run migrate`. Then verify that the production site has the pages you expect.

0 commit comments

Comments
 (0)