grommet / grommet-cms-boilerplate

Grommet CMS Boilerplate
Apache License 2.0
12 stars 3 forks source link

Import/Export data and sync options #66

Open karatechops opened 7 years ago

karatechops commented 7 years ago

I'd like to open the discussion of syncing data across environments running the CMS. After some thought, I think the best approach would be to have an export feature which returns a zip. The zip would include a json file for all posts, a json file for all assets, and all assets with a maintained folder structure. The CMS could support an import feature which would accept the same zip.

The issue I'm seeing is this could be cumbersome to import/export a single post.

My favorite sync DX was db migrate pro for Wordpress. It has the options of pulling, pushing and exporting. Something like this would obviously have a ton of dev time involved but as a long term goal I think a solution like this very enticing for a lot of users. With this method, we could run some sort of dif between environments and only update what's out of sync.

RyanCCollins commented 7 years ago

Sounds like a plan!

RyanCCollins commented 7 years ago

I've made some headway researching this. Will comment when I have some results.