Version: 1
A simple migration tool for Contentful, useful to clone data between environments in a same space.
Create a .env file with keys inside .env.example
Create a config.yml file with keys inside config.example.yml
Take a look in config.yml file and set:
MODEL_TO_MIGRATEas your own modelDOWNLOAD_FOLDERas the name of assets folder downloaded from ContentfulFROM_ENVIRONMENTas your base environmentTO_ENVIRONMENTas an array with target environments
For now, we have only one command:
npm run migrate:allto migrate all related with model: the model itself, his entries and assets.