CoDN Adminpanel

CMS for Rails 4, for rails 3.x check the corresponding branch.

Gem Version Build Status Code Climate

Installation

Add this line to your application's Gemfile:

gem 'adminpanel'

And then execute:

$ bundle

Usage

In you application.rb

config.default_locale = :es # or :en

no other language is currently supported, but pull requests are welcome.

Then run:

rails g adminpanel:initialize
rake db:migrate

to create the database that the adminpanel it's expecting, this will also seed the database with the default user.

Make sure you read the wiki, there is the descriptions of every relevant part of the gem.

To create a new resource check the Resource Generator.

You can seed the sections with help of the Section task.

Then, mount the gem wherever you like!

mount Adminpanel::Engine => "/codn"

Also make sure to include adminpanel assets in your application.rb if you need to precompile them:

config.assets.precompile += ['application-admin.js', 'application-admin.css']

Feel free to use it, any doubts, errors or suggestions are welcome in the issues!

Dependencies

Please make sure that you have (rmagick) ImageMagick -v 2.13.2 installed before trying to use the gem.

Integrated APIs

Currently the integrations working are:

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

To Do:

Check the issues if you'd like to help or request a new feature.