Epic placeholder: Move Contentful config into code
Description
At the moment, our fledgling Contentful CMS setup is managed purely manually. However, this 'clickops' approach is not ideal, in terms of reproducibility, disaster recovery, code review and more. Instead CMS-as-Code (CMSaC - similar to Infrastruture-as-Code) is an approach both recommended by Contentful and also advocated for within MEAO.
This placeholder ticket is to capture that we want to do at least:
- doing data migrations in code
- schema migrations in code
CMSaC isn't without downsides, though, such as making iterative development of new pages and experimentation slower and restricted to developers. A reasonable balance wouldbe clickops for trying things out in a non-production env, but then capturing those changes in code to apply them.
Note: we're not talking here about adding content via code - that would defeat the purpose of having a CMS with multiple users/authors. However, content may be transformed via data migrations.
More detail to come.
Issues
- [ ] #issue-number
- [ ] #issue-number