README
sissi
sissi-moves β content migration forHi, itβs me again. sissi, your simple static sites generator.
If you want to turn your simple React app into a static site with a built-in CMS look no further! Or actually, do: the sissi repo is where you'll find all you need. See you there!
If you're a sissi fan and want to contribute β welcome! I'm glad you're here. I have to apologise, though. Please bear with me. I have but two parents and they are working hard on their sissi-to-do-lists. Contribution guidelines and thorough documentation of all packages are somewhere in there. Somewhere... For now, this will have to do:
What sissi-moves can do
sissi moves is responsible for keeping the content.json
up to date β every time the CMS is started or visited. This means:
- creating a new
content.json
when there is none - calculating (and then storing) a hash from the
structure.json
and comparing it with the stored one to detect changes - migrating the existing
content.json
if thestructure.json
has been changed - creating a
content.json.backup
to make sure no data is lost in the process
During migration the minimum amount of pages and sections is created while invalid pages, sections and fields are removed.