Skip to content

Migrate your existing cms configuration into CloudCannon config

License

Notifications You must be signed in to change notification settings

CloudCannon/cloudcannon-config-migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudCannon Config Migrator

version badge downloads badge

Migrate your existing forestry or netlifycms configuration into CloudCannon config.

To run in the current directory:

npx cloudcannon-config-migrator --source .

This will read the files in the current directory and make the following updates:

  1. Add cloudcannon.config.yml which defines your collections, inputs, structures and select_data
  2. Add .cloudcannon/schemas/* which contains the default file contents for your collections
  3. Update any files that are not using default schemas to add a _schema value
  4. Update any files that have _inputs that are only scoped to that file (e.g. data files)