Skip to content

Raruto/cockpit-sample-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cockpit-sample-data

Sample data installer addon for Cockpit CMS

Features

  • Automatically import sample data on Cockpit CMS install

Installation

Manual

Download latest release and extract to COCKPIT_PATH/addons/SampleData directory

Git

git clone https://github.com/Raruto/cockpit-sample-data.git ./addons/SampleData

Cockpit CLI

php ./cp install/addon --name SampleData --url https://github.com/Raruto/cockpit-sample-data.git

Composer

  1. Make sure path to cockpit addons is defined in your projects' composer.json file:

    {
        "name": "MY_PROJECT",
        "extra": {
            "installer-paths": {
                "cockpit/addons/{$name}": ["type:cockpit-module"]
            }
        }
    }
  2. In your project root run:

    composer require raruto/cockpit-sample-data

Related projects: cockpit-blog

Compatibile with: Cockpit CMS