You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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