Skip to content

denkGroot/spina-example-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spina CMS

Visit the website

Getting Started

This is a Spina CMS plugin example, this project is meant to be cut into a gem and included in your parent Spina project.

To start using this project locally, first clone it and add the following lines to your Gemfile:

gem 'spina-review', path: '/path/to/the/project'

Make sure you run the migration installer to get started.

rails g spina_reviews:install

This should copy the migration file required to create the Spina::Review model.

In your Spina project, make sure your selected theme has 'reviews' added to plugins

self.plugins = ['reviews']

Restart your server and head over to '/admin/pages', you should see your plugin located below the Media Library.

That's all it takes to get the plugin working :)

Now modify away and make your own plugins!

This project rocks and uses MIT-LICENSE.

About

Example plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •