Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raruto/cockpit-sample-data
Sample data installer addon for Cockpit CMS
https://github.com/raruto/cockpit-sample-data
addon cockpit data sample
Last synced: 28 days ago
JSON representation
Sample data installer addon for Cockpit CMS
- Host: GitHub
- URL: https://github.com/raruto/cockpit-sample-data
- Owner: Raruto
- License: mit
- Created: 2021-02-15T15:29:21.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-15T15:31:11.000Z (almost 4 years ago)
- Last Synced: 2024-11-23T09:12:10.344Z (29 days ago)
- Topics: addon, cockpit, data, sample
- Language: PHP
- Homepage:
- Size: 134 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cockpit-sample-data
Sample data installer addon for [Cockpit CMS](http://getcockpit.com/)
## Features
- Automatically import sample data on Cockpit CMS install
## Installation
### Manual
Download [latest release](https://github.com/Raruto/cockpit-sample-data) and extract to `COCKPIT_PATH/addons/SampleData` directory
### Git
```sh
git clone https://github.com/Raruto/cockpit-sample-data.git ./addons/SampleData
```### Cockpit CLI
```sh
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:
```json
{
"name": "MY_PROJECT",
"extra": {
"installer-paths": {
"cockpit/addons/{$name}": ["type:cockpit-module"]
}
}
}
```2. In your project root run:
```sh
composer require raruto/cockpit-sample-data
```---
**Related projects:** [cockpit-blog](https://github.com/raruto/cockpit-blog)
**Compatibile with:** [![Cockpit CMS](https://img.shields.io/badge/cockpit-0.11.2-1EB300.svg?style=flat)](https://github.com/agentejo/cockpit)