Skip to content

Aissac/radiant-super-export-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Radiant Super Export Extension

About

An extension by Aissac that provides portability to your Radiant CMS project by allowing you to export and import the records in the database and making it easy to manage them with a source control tool like Git or Subversion.

Tested on Radiant 0.7.1, 0.8 and 0.9 RC1.

Features

  • All records are exported to individual YAML files;
  • A directory is created for each model in the default import/export path which is db/export;
  • The individual YAML files are saved with the record ID as their filename.

Installation

The Super Export Extension has no dependencies, so all you have to do is install it:

git clone git://github.com/Aissac/radiant-super-export-extension.git vendor/extensions/super_export

Usage

To export, use:

rake db:super_export

To import, use:

rake db:super_import

Working example

Exporting the Page model looks like this:

db/
  export/
    pages/
      1.yml
      2.yml
      3.yml
      ...

Contributors

About

Import/export for Radiant databases with source control friendlyness.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages